This is an archive of the discontinued Mercurial Phabricator instance.

dirstate-tree: Add #[timed] attribute to `status` and `DirstateMap::read`
ClosedPublic

Authored by SimonSapin on May 3 2021, 6:25 AM.

Details

Summary

When running with a RUST_LOG=trace environment variable, the micro_timer
crate prints the duration taken by each call to functions with that attribute.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.