This is an archive of the discontinued Mercurial Phabricator instance.

hg-core: add function timing information
ClosedPublic

Authored by Alphare on Mar 6 2020, 12:52 PM.

Details

Summary

This change makes use of the newly added logging infrastructure to trace the
execution time of some important calls.

This approach is very much complementary to using a profiler and will not
guard against out-of-order execution or other kinds of compiler optimizations.
That said, it is useful to get a rough high-level idea of where time is spent.

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.

Event Timeline

Alphare created this revision.Mar 6 2020, 12:52 PM
Alphare updated this revision to Diff 20710.Mar 11 2020, 11:52 AM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.