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

Issue 1868513002: [runtime] reduce runtime function and builtins overhead (Closed)

Created:
4 years, 8 months ago by Camillo Bruni
Modified:
4 years, 8 months ago
Reviewers:
caitp (gmail), Jarin
CC:
fadiwad_google.com, jochen (gone - plz use gerrit), 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

[runtime] reduce runtime function and builtins overhead All the counters, trace events and runtime call stats roughly create a 30% overhead when calling into the runtime. This CL factors out the counters into separate non-inlined functions. This way we can reduce the overhead to a minimum and still have some useful stats without a compile-time flag. BUG=chromium:596055 LOG=n Committed: https://crrev.com/ceb14f8c31f69b1a2c34e955e181edf1242abc51 Cr-Commit-Position: refs/heads/master@{#35308}

Patch Set 1 #

Patch Set 2 : use V8_NOINLINE #

Total comments: 1

Patch Set 3 : commit ALL files #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -28 lines) Patch
M src/arguments.h View 1 2 1 chunk +24 lines, -16 lines 0 comments Download
M src/builtins.cc View 1 2 chunks +15 lines, -12 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
Camillo Bruni
PTAL. I hope the __attributes thing works on all compilers, otherwise I will have to ...
4 years, 8 months ago (2016-04-06 12:54:02 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/1868513002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1868513002/20001
4 years, 8 months ago (2016-04-06 13:06:52 UTC) #5
caitp (gmail)
https://codereview.chromium.org/1868513002/diff/20001/src/arguments.h File src/arguments.h (right): https://codereview.chromium.org/1868513002/diff/20001/src/arguments.h#newcode87 src/arguments.h:87: static __attribute__((noinline)) Type Stats_##Name( \ You can use the ...
4 years, 8 months ago (2016-04-06 13:12:22 UTC) #7
Camillo Bruni
On 2016/04/06 at 13:12:22, caitpotter88 wrote: > https://codereview.chromium.org/1868513002/diff/20001/src/arguments.h > File src/arguments.h (right): > > https://codereview.chromium.org/1868513002/diff/20001/src/arguments.h#newcode87 ...
4 years, 8 months ago (2016-04-06 13:12:53 UTC) #8
Jarin
lgtm
4 years, 8 months ago (2016-04-06 14:34:11 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1868513002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1868513002/40001
4 years, 8 months ago (2016-04-06 15:08:17 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 8 months ago (2016-04-06 15:31:41 UTC) #12
commit-bot: I haz the power
4 years, 8 months ago (2016-04-06 15:33:16 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ceb14f8c31f69b1a2c34e955e181edf1242abc51
Cr-Commit-Position: refs/heads/master@{#35308}

Powered by Google App Engine
This is Rietveld 408576698