[Webkit-unassigned] [Bug 21172] Profiler has a significant impact on performance

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 29 10:18:36 PDT 2008


https://bugs.webkit.org/show_bug.cgi?id=21172





------- Comment #3 from kmccullough at apple.com  2008-09-29 10:18 PDT -------
Can you guarantee the function pointer will be valid after profiling is
complete?  Will GC collect stuff?  WIll context be lost?

Also is it so bad to slow down while profiling?  As long as profiling doesn't
affect the relative speeds of the parts of the code being profiled the numbers
will be accurate.

We of course should want JS executing as fast as possible even with the
profiler running, so if you have a good solution we should jump on it.

If we can get names after the fact, we need something unique to store in
ProfileGenerator that we can compare to see if the same function was called
multiple times and then when StopProfiling is called we would convert all of
those unique things to strings when storing them in the actual Profile.

Maybe these unique things can simply be stored in the CallIdentifier?


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list