dtolnay/watt

Consider printing warning in non-JIT mode if any single invocation takes >100ms

Aperta

#19 aperta il 31 ott 2019

 (0 commenti) (0 reazioni) (0 assegnatari)Rust (31 fork)github user discovery
help wanted

Metriche repository

Star
 (1522 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

In the non-JIT runtime let's time how long each macro call takes and print a message if any one takes too long, pointing to the JIT installation instructions and explaining that it would likely improve your compile time.

We'll want the warning to somehow appear only once per compilation if possible. Also we'll want some way to silence it in case the user can't install JIT for some reason.

Guida contributor