This is an archive of the discontinued Mercurial Phabricator instance.

py3: make statprof's chrome output work
ClosedPublic

Authored by martinvonz on Aug 30 2019, 3:03 PM.

Details

Summary

With this patch, this command works:

python3 hg --profile --config profiling.statformat=chrome st

(and it works with s/python3/python2/ as well)

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

martinvonz created this revision.Aug 30 2019, 3:03 PM
martinvonz edited the summary of this revision. (Show Details)Aug 30 2019, 3:03 PM
martinvonz planned changes to this revision.Aug 30 2019, 6:22 PM

There's a lot more that's needed for python3 hg --config profiling.statformat=chrome --profile to work, so I'll probably put more changes in this patch soon.

martinvonz retitled this revision from py3: go back to using strings for paths in statprof.py to py3: make statprof's chrome output work.
martinvonz edited the summary of this revision. (Show Details)
martinvonz updated this revision to Diff 16347.
pulkit accepted this revision.Aug 31 2019, 2:00 PM
This revision is now accepted and ready to land.Aug 31 2019, 2:00 PM
This revision was automatically updated to reflect the committed changes.