dtolnay/watt

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

開放

#19 建立於 2019年10月31日

 (0 則留言) (0 個反應) (0 位負責人)Rust (31 個分叉)github user discovery
help wanted

倉庫指標

星標
 (1,522 顆星)
PR 合併指標
 (30 天內沒有已合併 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.

貢獻者指南