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

Issue 968773002: [Oilpan] Measure time for forced/idle GC (Closed)

Created:
5 years, 9 months ago by peria
Modified:
5 years, 8 months ago
CC:
chromium-reviews, telemetry-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

This CL starts to track measurements of time for forced GC and idle GC. Before this CL, OilpanGCTimes metric measured time for 'precise' and 'conservative' GC, but now Oilpan GC can run for other reasons, and some tests need to measure such 'other' GC runs. In short, we had ['precise', 'conervative'] metrics, and we will have ['precise', 'conervative', 'forced', 'idle'] metrics. BUG=438074 TEST=./tools/perf/run_tests oilpan --browser=content-shell-release Committed: https://crrev.com/829f2d19573f0d33e94f76686b5904f7db4c1b09 Cr-Commit-Position: refs/heads/master@{#323651}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Expose a flag to include force GCs #

Patch Set 3 : Rebase and work for a nit #

Total comments: 4

Patch Set 4 : work for nit #

Patch Set 5 : Add a test #

Total comments: 2

Patch Set 6 : Work for tests #

Total comments: 2

Patch Set 7 : Work for a nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+247 lines, -51 lines) Patch
M tools/perf/measurements/oilpan_gc_times.py View 1 2 3 4 5 6 4 chunks +57 lines, -50 lines 0 comments Download
M tools/perf/measurements/oilpan_gc_times_unittest.py View 1 2 3 4 5 3 chunks +190 lines, -1 line 0 comments Download

Messages

Total messages: 26 (7 generated)
peria
PTL
5 years, 9 months ago (2015-03-02 04:53:58 UTC) #2
haraken
> In performance test, most GCs are triggered by telemetry. > So we have to ...
5 years, 9 months ago (2015-03-02 05:01:49 UTC) #3
kouhei (in TOK)
On 2015/03/02 05:01:49, haraken wrote: > > In performance test, most GCs are triggered by ...
5 years, 9 months ago (2015-03-02 05:03:57 UTC) #4
peria
Add a flag to include/exclude forced GCs. CL description is also updated. PTAL. https://codereview.chromium.org/968773002/diff/1/tools/perf/measurements/oilpan_gc_times.py File ...
5 years, 9 months ago (2015-03-02 05:27:58 UTC) #5
kouhei (in TOK)
lgtm Nit: s/include_force_gc/include_forced_gc/
5 years, 9 months ago (2015-03-02 05:29:21 UTC) #6
haraken
LGTM
5 years, 9 months ago (2015-03-02 05:29:55 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/968773002/40001
5 years, 9 months ago (2015-03-02 05:34:42 UTC) #10
peria
Sami, could you take a look as an owner?
5 years, 9 months ago (2015-03-02 05:40:28 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/46514)
5 years, 9 months ago (2015-03-02 05:50:52 UTC) #14
Sami
Thanks! Would you mind adding a test for this in OilpanGCTimesTest? The test could use ...
5 years, 9 months ago (2015-03-02 12:37:59 UTC) #15
peria
Thank you for the review. I added a test and a backdoor method for the ...
5 years, 9 months ago (2015-03-09 08:03:25 UTC) #16
Sami
Many thanks for adding the test. I've got a suggestion to simplify it a little ...
5 years, 9 months ago (2015-03-09 16:29:52 UTC) #17
peria
I'm sorry for leaving this CL so long. While I was working for other urgent ...
5 years, 8 months ago (2015-04-02 08:26:01 UTC) #18
Sami
Thanks, the new test looks great! https://codereview.chromium.org/968773002/diff/100001/tools/perf/measurements/oilpan_gc_times.py File tools/perf/measurements/oilpan_gc_times.py (right): https://codereview.chromium.org/968773002/diff/100001/tools/perf/measurements/oilpan_gc_times.py#newcode25 tools/perf/measurements/oilpan_gc_times.py:25: _GC_WORKS = ['mark', ...
5 years, 8 months ago (2015-04-02 17:21:30 UTC) #19
Sami
Oops, meant to also say lgtm.
5 years, 8 months ago (2015-04-02 17:21:45 UTC) #20
peria
Thank you for your reviews and advices!! https://codereview.chromium.org/968773002/diff/100001/tools/perf/measurements/oilpan_gc_times.py File tools/perf/measurements/oilpan_gc_times.py (right): https://codereview.chromium.org/968773002/diff/100001/tools/perf/measurements/oilpan_gc_times.py#newcode25 tools/perf/measurements/oilpan_gc_times.py:25: _GC_WORKS = ...
5 years, 8 months ago (2015-04-03 02:51:11 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/968773002/120001
5 years, 8 months ago (2015-04-03 04:40:21 UTC) #24
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 8 months ago (2015-04-03 07:39:33 UTC) #25
commit-bot: I haz the power
5 years, 8 months ago (2015-04-03 20:33:33 UTC) #26
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/829f2d19573f0d33e94f76686b5904f7db4c1b09
Cr-Commit-Position: refs/heads/master@{#323651}

Powered by Google App Engine
This is Rietveld 408576698