New issue
Advanced search Search tips

Issue 675759 link

Starred by 2 users

Issue metadata

Status: Archived
Owner:
Closed: Oct 31
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 3
Type: Bug



Sign in to add a comment

Sampling profile can slow down execution by 2x on MacOS

Project Member Reported by alph@chromium.org, Dec 19 2016

Issue description

The test case is at http://codepen.io/alphik/pen/RovvQX
Thanks to @kamranayub

On MacOS regular run takes ~1660ms
Timeline recording with JS sampling takes ~2600ms, which is 55% slowdown.

On Linux it's 3100 vs 3340ms, which is 8%.

The slowdown on Mac seems not depend on hi-res low-res profiling setting.

Could be related to MacOS signal handlers being slow with AVX instructions bug. https://bugs.chromium.org/p/v8/issues/detail?id=4406
 
On Windows 10 x64, regular run is 2192.779ms and with timeline its 2890.521ms.

I also have a test case which runs over 3.5x slower with React (215ms vs. 738ms), documented here: https://twitter.com/kamranayub/status/810300661598482432/photo/1.

It's running more complex code. I will try to attach it later, I need to isolate all the code down to something I can share.
Status: Archived (was: Assigned)
Bulk closing low-priority issues with no activity. Please re-file and refer to the closed issue if it's essential to fix.

Sign in to add a comment