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

Issue 1988023004: Speed up common ObjectProtoToString cases (Closed)

Created:
4 years, 7 months ago by Toon Verwaest
Modified:
4 years, 7 months ago
Reviewers:
adamk
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Speed up common ObjectProtoToString cases 1) avoid the builder 2) by precomputing the result we're guaranteed to have a flat string avoiding extra cost later of using the string BUG= Committed: https://crrev.com/155a392be1931046222113ff8037186788ba9f4b Cr-Commit-Position: refs/heads/master@{#36352}

Patch Set 1 #

Total comments: 3

Patch Set 2 : restore bootstrapper #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -2 lines) Patch
M src/heap-symbols.h View 1 chunk +4 lines, -0 lines 0 comments Download
M src/objects.cc View 2 chunks +18 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
Toon Verwaest
ptal. this speeds up speedometer-angular from ~680 to ~630
4 years, 7 months ago (2016-05-18 14:23:25 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1988023004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1988023004/1
4 years, 7 months ago (2016-05-18 14:23:44 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-18 14:56:20 UTC) #6
adamk
lgtm (I have a vague memory of doing this same thing myself once), might want ...
4 years, 7 months ago (2016-05-18 16:07:58 UTC) #7
Toon Verwaest
Yeah probably we should have IsNull(Isolate*)... https://codereview.chromium.org/1988023004/diff/1/src/bootstrapper.cc File src/bootstrapper.cc (left): https://codereview.chromium.org/1988023004/diff/1/src/bootstrapper.cc#oldcode1590 src/bootstrapper.cc:1590: cons->shared()->set_instance_class_name(*name); On 2016/05/18 ...
4 years, 7 months ago (2016-05-18 17:17:20 UTC) #8
adamk
https://codereview.chromium.org/1988023004/diff/1/src/bootstrapper.cc File src/bootstrapper.cc (left): https://codereview.chromium.org/1988023004/diff/1/src/bootstrapper.cc#oldcode1590 src/bootstrapper.cc:1590: cons->shared()->set_instance_class_name(*name); On 2016/05/18 17:17:20, Toon Verwaest wrote: > On ...
4 years, 7 months ago (2016-05-18 17:46:05 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1988023004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1988023004/20001
4 years, 7 months ago (2016-05-19 08:08:49 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-19 08:51:23 UTC) #13
commit-bot: I haz the power
4 years, 7 months ago (2016-05-19 08:53:20 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/155a392be1931046222113ff8037186788ba9f4b
Cr-Commit-Position: refs/heads/master@{#36352}

Powered by Google App Engine
This is Rietveld 408576698