Comment #7 on issue 4406 by [email protected]: profiler has huge impact on performance for some code (mac)
https://code.google.com/p/v8/issues/detail?id=4406

Ok, it seems to be a problem with OS X SIGPROF signal handlers. At least it is still slow if I make signal handler empty, by placing return right in the beginning of it here
https://code.google.com/p/chromium/codesearch#chromium/src/v8/src/sampler.cc&q=ProfilerSign&sq=package:chromium&l=339

So the handler basically does nothing, but it slows down execution.

However if I disable the signal initiation, it runs fast, i.e. when I comment out pthread_kill call here:
https://code.google.com/p/chromium/codesearch#chromium/src/v8/src/sampler.cc&q=pthread_kill%20f:v8&sq=package:chromium&type=cs&l=732



--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to