This is an archive of the discontinued Mercurial Phabricator instance.

statprof: update the name as the i increases (issue6003)
ClosedPublic

Authored by pulkit on Oct 19 2018, 4:35 PM.

Details

Summary

2864f8d3fcd6 while working on py3 fix, take out the name building out of the
loop so we were not building the new stack-name for each i, rather we were using
the first one again and again.

The test changes shows the profile is now working.

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

pulkit created this revision.Oct 19 2018, 4:35 PM
pulkit added inline comments.Oct 19 2018, 4:36 PM
tests/test-profile.t
93

I tried to glob this one by putting * at various places but I failed. Any help/suggestion on how to glob this will be helpful.

yuja added a subscriber: yuja.Oct 20 2018, 3:02 AM

+ time seconds seconds name
+ 92.55 0.02 0.02 sleepext.py:7:sleep

$ cat ../out | statprofran

I tried to glob this one by putting * at various places but I failed. Any help/suggestion on how to glob this will be helpful.

Fixed this as * sleepext.py:*:sleep (glob) and queued, thanks.

This revision was automatically updated to reflect the committed changes.