dtolnay/watt

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

Ouverte

#19 ouverte le 31 oct. 2019

 (0 commentaire) (0 réaction) (0 personne assignée)Rust (31 forks)github user discovery
help wanted

Métriques du dépôt

Stars
 (1 522 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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.

Guide contributeur