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.

贡献者指南