sumerc / yappi

Yet Another Python Profiler, but this time multithreading, asyncio and gevent aware.
MIT License
1.44k stars 72 forks source link

Fix tavg and avgtime sort types pointing to the wrong YFuncStat key. #88

Closed Phanabani closed 3 years ago

Phanabani commented 3 years ago

Closes #87. The tavg key here is 14, not 10 (ctx_id) which was previously written.

Phanabani commented 3 years ago

I also checked all the other entries in SORT_TYPES_FUNCSTATS and SORT_TYPES_CHILDFUNCSTATS and I didn't see any other mistakes!