Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(803)

Issue 11316331: Pass Isolate to Local<T>::New() (Closed)

Created:
8 years ago by haraken
Modified:
8 years ago
CC:
Sven Panne
Base URL:
git://github.com/v8/v8.git@master
Visibility:
Public.

Description

Pass Isolate to Local<T>::New() Our profiling revealed that Local<T>::New() is one of bottlenecks of DOM bindings. BUG= TEST=cctest/test-api/LocalHandle Committed: http://code.google.com/p/v8/source/detail?r=13138

Patch Set 1 #

Total comments: 2

Patch Set 2 : Isolate argument first #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -0 lines) Patch
M include/v8.h View 1 3 chunks +13 lines, -0 lines 0 comments Download
M src/api.cc View 1 1 chunk +6 lines, -0 lines 0 comments Download
M test/cctest/test-api.cc View 1 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
haraken
Local::New() is a bottleneck when we convert a WebKit string to a V8 string, which ...
8 years ago (2012-12-04 12:52:07 UTC) #1
Michael Starzinger (Google)
https://chromiumcodereview.appspot.com/11316331/diff/1/include/v8.h File include/v8.h (right): https://chromiumcodereview.appspot.com/11316331/diff/1/include/v8.h#newcode308 include/v8.h:308: inline static Local<T> New(Handle<T> that, Isolate* isolate); I actually ...
8 years ago (2012-12-04 17:31:38 UTC) #2
haraken
Thanks for reviewing! > When I was talking to Sven a few weeks ago, we ...
8 years ago (2012-12-05 00:16:01 UTC) #3
Michael Starzinger
8 years ago (2012-12-05 09:07:21 UTC) #4
LGTM. Rebasing. Landing.

Powered by Google App Engine
This is Rietveld 408576698