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

Issue 1973473002: [runtime] Record runtime call stats for Map::TransitionTo*Property, JSObject::OptimizeAsPrototype t… (Closed)

Created:
4 years, 7 months ago by Igor Sheludko
Modified:
3 years, 9 months ago
CC:
Michael Achenbach, v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@handler-counters2
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[runtime] Record runtime call stats for Map::TransitionTo*Property, Map::SetPrototype and property deletion to separate buckets. Committed: https://crrev.com/af02c0336da8be58eb664f4bb7b6994d16a53848 Cr-Commit-Position: refs/heads/master@{#36176}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Addressing comments and rebasing #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -15 lines) Patch
M BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/counters.h View 1 3 chunks +25 lines, -8 lines 0 comments Download
M src/counters.cc View 2 chunks +4 lines, -4 lines 0 comments Download
A src/counters-inl.h View 1 chunk +24 lines, -0 lines 0 comments Download
M src/lookup.cc View 1 1 chunk +8 lines, -3 lines 1 comment Download
M src/objects.cc View 1 4 chunks +15 lines, -0 lines 0 comments Download
M src/v8.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 17 (8 generated)
Toon Verwaest
lgtm. comments can be addressed in a separate CL or this, as you wish https://codereview.chromium.org/1973473002/diff/1/src/counters.h ...
4 years, 7 months ago (2016-05-11 11:27:21 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/1973473002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1973473002/40001
4 years, 7 months ago (2016-05-11 12:04:55 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-11 12:45:20 UTC) #8
Toon Verwaest
thanks, lgtm
4 years, 7 months ago (2016-05-11 12:53:44 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1973473002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1973473002/40001
4 years, 7 months ago (2016-05-11 12:57:55 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 7 months ago (2016-05-11 12:59:55 UTC) #12
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/af02c0336da8be58eb664f4bb7b6994d16a53848 Cr-Commit-Position: refs/heads/master@{#36176}
4 years, 7 months ago (2016-05-11 13:01:07 UTC) #14
Camillo Bruni
https://codereview.chromium.org/1973473002/diff/40001/src/lookup.cc File src/lookup.cc (right): https://codereview.chromium.org/1973473002/diff/40001/src/lookup.cc#newcode359 src/lookup.cc:359: : &RuntimeCallStats::Object_DeleteProperty); I hope this case doesn't happen too ...
4 years, 7 months ago (2016-05-11 13:01:46 UTC) #16
Igor Sheludko
4 years, 7 months ago (2016-05-11 17:59:16 UTC) #17
Message was sent while issue was closed.
On 2016/05/11 13:01:46, Camillo Bruni wrote:
> https://codereview.chromium.org/1973473002/diff/40001/src/lookup.cc
> File src/lookup.cc (right):
> 
> https://codereview.chromium.org/1973473002/diff/40001/src/lookup.cc#newcode359
> src/lookup.cc:359: : &RuntimeCallStats::Object_DeleteProperty);
> I hope this case doesn't happen too much, I've seen quite some impact by the
> counter when using them for the builtins. That's why I added the separate
branch
> that only jumps there if we enable the flag. Otherwise I could still see the
> overhead, since clang inlined the timer scope nevertheless and probably
reserved
> stack in either case.

Let's see what does the perf think about this CL.

Powered by Google App Engine
This is Rietveld 408576698