Closed GoogleCodeExporter closed 8 years ago
_call_leave calls tick() 2 times. Fix that. And also the real bottleneck is the
timing measumerement code for the profiler. As the number of functions being
profiled
is increasing, more and more get_system_time() functions are called which
degrades
performance. There is no easy way to optimize this, however, we can add some
sort of
sampling value which can be passed to start() (note that this param should be
an odd
number and less than the number of functions being profiled, otherwise
profiling will
give crap information). This way, we can scale the runtime of the profiler for
our
needs, tradeoff between accuracy/performance.
Original comment by oktaka...@gmail.com
on 7 Mar 2010 at 7:01
updated in v0.43. See the v0.43 changes
Original comment by sum...@gmail.com
on 10 Mar 2010 at 11:12
Original comment by sum...@gmail.com
on 12 Mar 2010 at 10:12
Original issue reported on code.google.com by
oktaka...@gmail.com
on 7 Mar 2010 at 3:59