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

Issue 2147123002: Made simple instance-of checks fast for unoptimized code. (Closed)

Created:
4 years, 5 months ago by bakster
Modified:
4 years, 5 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Made simple instance-of checks fast for unoptimized code. This change makes dart2js 15% faster when compiling 60KLOC. 15sec -> 13sec. BUG= R=regis@google.com Committed: https://github.com/dart-lang/sdk/commit/21a3a27aff2661b6e5987412c585eede76510e5c

Patch Set 1 #

Total comments: 22

Patch Set 2 : Addressed CL comments. #

Total comments: 4

Patch Set 3 : Removed compile_time_constants_ from object_store. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+205 lines, -43 lines) Patch
M runtime/lib/object.cc View 1 chunk +31 lines, -0 lines 0 comments Download
M runtime/lib/object_patch.dart View 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/bootstrap_natives.h View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/code_generator.cc View 1 2 chunks +28 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_builder.cc View 1 2 chunks +61 lines, -24 lines 0 comments Download
M runtime/vm/jit_optimizer.cc View 2 chunks +25 lines, -18 lines 0 comments Download
M runtime/vm/object.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/object.cc View 1 1 chunk +11 lines, -1 line 0 comments Download
M runtime/vm/object_store.h View 1 2 4 chunks +17 lines, -0 lines 0 comments Download
M runtime/vm/object_store.cc View 1 2 3 chunks +21 lines, -0 lines 0 comments Download
M runtime/vm/symbols.h View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
bakster
Please review my faster instance-of CL. //Lars
4 years, 5 months ago (2016-07-13 23:56:03 UTC) #2
regis
I'll review again as you asked me to, but I was almost done. So here ...
4 years, 5 months ago (2016-07-14 01:41:46 UTC) #3
regis
LGTM
4 years, 5 months ago (2016-07-14 17:05:27 UTC) #4
Florian Schneider
dbc: https://codereview.chromium.org/2147123002/diff/20001/runtime/vm/object_store.cc File runtime/vm/object_store.cc (right): https://codereview.chromium.org/2147123002/diff/20001/runtime/vm/object_store.cc#newcode96 runtime/vm/object_store.cc:96: compile_time_constants_(Array::null()), Same here. https://codereview.chromium.org/2147123002/diff/20001/runtime/vm/object_store.h File runtime/vm/object_store.h (right): https://codereview.chromium.org/2147123002/diff/20001/runtime/vm/object_store.h#newcode591 ...
4 years, 5 months ago (2016-07-14 17:18:03 UTC) #6
bakster
Fixed https://codereview.chromium.org/2147123002/diff/1/runtime/lib/object.cc File runtime/lib/object.cc (right): https://codereview.chromium.org/2147123002/diff/1/runtime/lib/object.cc#newcode171 runtime/lib/object.cc:171: // simpleInstanceOfType and it is a non-negative test. ...
4 years, 5 months ago (2016-07-14 17:59:42 UTC) #7
regis
Still LGTM
4 years, 5 months ago (2016-07-14 18:08:37 UTC) #8
bakster
4 years, 5 months ago (2016-07-14 18:11:23 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
21a3a27aff2661b6e5987412c585eede76510e5c (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698