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

Issue 3139005: [Isolates] Use ::GetHeap() more often.... (Closed)

Created:
10 years, 4 months ago by zarko
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

[Isolates] Use ::GetHeap() more often. ++ indicates v8 tests (higher is better, reference/runtime) -- indicates closure tests (lower is better, usec) This patch (ia32): ++Crypto: 1877.750000 --closure-json-raw: 357.500000 ++EarleyBoyer: 5594.500000 ++ws-longfact: 99.900000 --closure-datetime-raw: 187.250000 ++Score (version 6 (candidate)): 530.000000 --closure-uri-raw: 174.000000 ++Solve: 73.775000 ++Splay: 329.000000 ++RegExp: 1442.250000 ++Richards: 2429.250000 --closure-queue2-raw: 3939.500000 --closure-eval2-raw: 119.750000 ++ws-IEEE754Conv: 79.975000 ++Genetic: 80.900000 ++RayTrace: 4155.250000 --closure-log-formatter-raw: 234.250000 ++ws-huffman: 91.525000 ++DeltaBlue: 2242.500000 Isolates head r5232 (ia32): ++Crypto: 1853.750000 --closure-json-raw: 371.750000 ++EarleyBoyer: 5499.250000 ++ws-longfact: 96.575000 --closure-datetime-raw: 187.750000 ++Score (version 6 (candidate)): 524.000000 --closure-uri-raw: 173.500000 ++Solve: 79.925000 ++Splay: 323.750000 ++RegExp: 1408.250000 ++Richards: 2451.250000 --closure-queue2-raw: 4028.750000 --closure-eval2-raw: 115.500000 ++ws-IEEE754Conv: 74.225000 ++Genetic: 79.000000 ++RayTrace: 4040.000000 --closure-log-formatter-raw: 241.000000 ++ws-huffman: 91.350000 ++DeltaBlue: 2245.250000 This patch (x64): ++Crypto: 2001.750000 --closure-json-raw: 355.250000 ++EarleyBoyer: 5079.500000 ++ws-longfact: 101.500000 --closure-datetime-raw: 209.250000 ++Score (version 6 (candidate)): 519.500000 --closure-uri-raw: 180.750000 ++Solve: 85.325000 ++Splay: 297.500000 ++RegExp: 1386.500000 ++Richards: 2281.500000 --closure-queue2-raw: 3591.500000 --closure-eval2-raw: 133.250000 ++ws-IEEE754Conv: 90.275000 ++Genetic: 87.750000 ++RayTrace: 3687.500000 --closure-log-formatter-raw: 260.000000 ++ws-huffman: 86.300000 ++DeltaBlue: 1852.500000 Isolates head r5232 (x64): ++Crypto: 1990.000000 --closure-json-raw: 365.500000 ++EarleyBoyer: 5091.000000 ++ws-longfact: 104.000000 --closure-datetime-raw: 213.500000 ++Score (version 6 (candidate)): 516.500000 --closure-uri-raw: 189.500000 ++Solve: 82.000000 ++Splay: 301.000000 ++RegExp: 1381.750000 ++Richards: 2263.000000 --closure-queue2-raw: 3723.500000 --closure-eval2-raw: 134.500000 ++ws-IEEE754Conv: 86.000000 ++Genetic: 89.500000 ++RayTrace: 3633.750000 --closure-log-formatter-raw: 265.000000 ++ws-huffman: 87.050000 ++DeltaBlue: 1840.500000 Committed: http://code.google.com/p/v8/source/detail?r=5250

Patch Set 1 #

Total comments: 7

Patch Set 2 : '' #

Total comments: 8

Patch Set 3 : '' #

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+397 lines, -267 lines) Patch
M src/contexts.cc View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M src/objects.cc View 1 2 3 202 chunks +371 lines, -247 lines 0 comments Download
M src/objects-inl.h View 1 2 6 chunks +23 lines, -18 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
zarko
Thanks Luke
10 years, 4 months ago (2010-08-10 23:08:31 UTC) #1
Dmitry Titov
Cool. Couple comments: http://codereview.chromium.org/3139005/diff/1/2 File src/contexts.cc (right): http://codereview.chromium.org/3139005/diff/1/2#newcode70 src/contexts.cc:70: Context* Context::global_context(Heap* heap) { I wonder ...
10 years, 4 months ago (2010-08-10 23:48:43 UTC) #2
zarko
Thanks for the feedback! Here are the numbers for this version: ia32: ++Crypto: 1880.750000 --closure-json-raw: ...
10 years, 4 months ago (2010-08-11 18:25:25 UTC) #3
Dmitry Titov
> I'm not sure what you mean by dangerous. It's just in general a good ...
10 years, 4 months ago (2010-08-11 19:22:18 UTC) #4
Vitaly Repeshko
LGTM http://codereview.chromium.org/3139005/diff/8001/9002 File src/objects-inl.h (right): http://codereview.chromium.org/3139005/diff/8001/9002#newcode462 src/objects-inl.h:462: return Object::IsHeapObject() nit: "&&" should stay on this ...
10 years, 4 months ago (2010-08-11 19:49:51 UTC) #5
zarko
10 years, 4 months ago (2010-08-11 23:53:28 UTC) #6
Thanks again! I removed Map::GetHeap(). (It didn't help perf above what appeared
to be noise, so I figured that it wasn't worth the potential confusion.)

Powered by Google App Engine
This is Rietveld 408576698