sumerc / yappi

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

Uniqueness of the YFuncStat object #151

Open JulianGassner opened 9 months ago

JulianGassner commented 9 months ago

Hey, I am currently implementing an application using Yappi and it's API. In this context, I use the get_func_stats function to retrive profiling results.
From the documentation I am not quite able to decipher if every function that was profiled has exactly one YFuncStat object in the returned list (of the get_func_stats call) or if there can be several YFuncStat objects for one given function from the profiled application.