aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/syntax_tree.rs
diff options
context:
space:
mode:
authorMichal Terepeta <[email protected]>2020-01-02 16:21:40 +0000
committerMichal Terepeta <[email protected]>2020-01-02 16:26:02 +0000
commitbc91120b7c0da775a81139f91cd778258f2bf80c (patch)
tree487a4ff5f0ab228c44245b3ee6626b25d6f8d4d9 /crates/ra_ide/src/syntax_tree.rs
parent4516c4c1447942a8f01b59a71dcf5abfa2c5e37a (diff)
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 <[email protected]>
Diffstat (limited to 'crates/ra_ide/src/syntax_tree.rs')
0 files changed, 0 insertions, 0 deletions