dtolnay/watt

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

オープン

#19 opened on 2019/10/31

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Rust (31 件のフォーク)github user discovery
help wanted

Repository metrics

Stars
 (1,522 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

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.

コントリビューターガイド