rust-analyzer/crates/ra_prof
Michal Terepeta bc91120b7c Improve profiling output when duration filter is specified
In particular:

  - Use strict inequality for comparisons, since that's what the filter
    syntax supports.

  - Convert to millis for comparisons, since that's the unit used both
    for the filter and when printing.

Now something like `RA_PROFILE='*>0'` will only print things that took
at least 1ms (when rounded to millis).

Signed-off-by: Michal Terepeta <michal.terepeta@gmail.com>
2020-01-02 17:26:02 +01:00
..
src Improve profiling output when duration filter is specified 2020-01-02 17:26:02 +01:00
Cargo.toml Disable doctests 2019-11-17 18:35:05 +03:00