New issue
Advanced search Search tips

Issue 591062 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 148757
Owner: ----
Closed: Mar 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug



Sign in to add a comment

JSON.stringify + JSON.parse appears to be much faster than structured cloning

Project Member Reported by jakearchibald@chromium.org, Mar 1 2016

Issue description

http://nolanlawson.com/2016/02/29/high-performance-web-worker-messages/

Seems that structured cloning is much faster in Safari & Edge, so I assume there's something unoptimised in our implementation.
 
Cc: nhiroki@chromium.org
Components: Blink>JavaScript
For context, structured cloning is the UA's default logic to serialize/deserialize post-message'd objects.  The blog post says just postMessage'ing objects (to let UA/V8 serialize/deserialize objects) is in general slower than sending objects after manually JSON.stringify.

sort of dup for  issue 148757 ?
Mergedinto: 148757
Status: Duplicate (was: Untriaged)
I'll take a look into  issue 148757 

Sign in to add a comment