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

Issue 1665303004: Unflake CPU profiler tests. (Closed)

Created:
4 years, 10 months ago by alph
Modified:
4 years, 10 months ago
Reviewers:
Benedikt Meurer, yurys
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

Unflake CPU profiler tests. Do not rely on elapsed time to collect enough samples. Use CollectSample API function instead. Remove checks for extra functions present in a profile, as there in fact can be lots of native support functions. BUG=v8:2999 LOG=N Committed: https://crrev.com/1b6265eff71c73e64013299900520a01ec06baa8 Cr-Commit-Position: refs/heads/master@{#33822}

Patch Set 1 #

Total comments: 12

Patch Set 2 : drop v8_str #

Patch Set 3 : revert back to stochastic sampling. #

Total comments: 14

Patch Set 4 : addressing yurys@ comments. #

Patch Set 5 : Fix JsNative1JsNative2Js test #

Patch Set 6 : make top level functions to be JS ones. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+275 lines, -472 lines) Patch
M test/cctest/cctest.status View 1 2 2 chunks +12 lines, -13 lines 0 comments Download
M test/cctest/profiler-extension.h View 1 chunk +5 lines, -2 lines 0 comments Download
M test/cctest/profiler-extension.cc View 1 3 chunks +17 lines, -19 lines 0 comments Download
M test/cctest/test-cpu-profiler.cc View 1 2 3 4 5 40 chunks +241 lines, -438 lines 0 comments Download

Messages

Total messages: 37 (13 generated)
alph
4 years, 10 months ago (2016-02-05 08:23:51 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/1665303004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1665303004/1
4 years, 10 months ago (2016-02-05 17:01:19 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux_arm64_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm64_rel/builds/14968)
4 years, 10 months ago (2016-02-05 17:19:21 UTC) #6
yurys
https://codereview.chromium.org/1665303004/diff/1/test/cctest/profiler-extension.cc File test/cctest/profiler-extension.cc (right): https://codereview.chromium.org/1665303004/diff/1/test/cctest/profiler-extension.cc#newcode44 test/cctest/profiler-extension.cc:44: v8::Local<v8::String> v8_str(v8::Isolate* isolate, const char* string) { Please use ...
4 years, 10 months ago (2016-02-05 17:33:05 UTC) #7
alph
https://codereview.chromium.org/1665303004/diff/1/test/cctest/profiler-extension.cc File test/cctest/profiler-extension.cc (right): https://codereview.chromium.org/1665303004/diff/1/test/cctest/profiler-extension.cc#newcode44 test/cctest/profiler-extension.cc:44: v8::Local<v8::String> v8_str(v8::Isolate* isolate, const char* string) { On 2016/02/05 ...
4 years, 10 months ago (2016-02-05 17:52:28 UTC) #8
alph
https://codereview.chromium.org/1665303004/diff/1/test/cctest/profiler-extension.cc File test/cctest/profiler-extension.cc (right): https://codereview.chromium.org/1665303004/diff/1/test/cctest/profiler-extension.cc#newcode86 test/cctest/profiler-extension.cc:86: args.GetIsolate()->GetCpuProfiler()->CollectSample(); On 2016/02/05 17:33:04, yurys wrote: > The whole ...
4 years, 10 months ago (2016-02-05 18:03:33 UTC) #9
yurys
https://codereview.chromium.org/1665303004/diff/1/test/cctest/profiler-extension.cc File test/cctest/profiler-extension.cc (right): https://codereview.chromium.org/1665303004/diff/1/test/cctest/profiler-extension.cc#newcode86 test/cctest/profiler-extension.cc:86: args.GetIsolate()->GetCpuProfiler()->CollectSample(); On 2016/02/05 17:52:26, alph wrote: > The tests ...
4 years, 10 months ago (2016-02-05 18:07:34 UTC) #10
yurys
On 2016/02/05 18:03:33, alph wrote: > https://codereview.chromium.org/1665303004/diff/1/test/cctest/profiler-extension.cc > File test/cctest/profiler-extension.cc (right): > > https://codereview.chromium.org/1665303004/diff/1/test/cctest/profiler-extension.cc#newcode86 > ...
4 years, 10 months ago (2016-02-05 18:08:49 UTC) #11
alph
ptal
4 years, 10 months ago (2016-02-05 22:37:23 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1665303004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1665303004/40001
4 years, 10 months ago (2016-02-05 22:37:41 UTC) #14
yurys
https://codereview.chromium.org/1665303004/diff/40001/test/cctest/test-cpu-profiler.cc File test/cctest/test-cpu-profiler.cc (right): https://codereview.chromium.org/1665303004/diff/40001/test/cctest/test-cpu-profiler.cc#newcode583 test/cctest/test-cpu-profiler.cc:583: " try {\n" Can you also replace try/catch with ...
4 years, 10 months ago (2016-02-05 22:54:11 UTC) #15
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-05 22:57:55 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1665303004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1665303004/60001
4 years, 10 months ago (2016-02-05 23:30:02 UTC) #19
alph
ptal https://codereview.chromium.org/1665303004/diff/40001/test/cctest/test-cpu-profiler.cc File test/cctest/test-cpu-profiler.cc (right): https://codereview.chromium.org/1665303004/diff/40001/test/cctest/test-cpu-profiler.cc#newcode583 test/cctest/test-cpu-profiler.cc:583: " try {\n" On 2016/02/05 22:54:11, yurys wrote: ...
4 years, 10 months ago (2016-02-05 23:32:09 UTC) #20
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_rel_ng/builds/1034) v8_linux_rel_ng_triggered on ...
4 years, 10 months ago (2016-02-05 23:42:31 UTC) #22
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1665303004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1665303004/80001
4 years, 10 months ago (2016-02-05 23:50:58 UTC) #24
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-06 00:18:15 UTC) #26
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1665303004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1665303004/100001
4 years, 10 months ago (2016-02-06 01:26:07 UTC) #28
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-06 01:43:42 UTC) #30
yurys
lgtm.
4 years, 10 months ago (2016-02-06 02:41:21 UTC) #31
Benedikt Meurer
LGTM.
4 years, 10 months ago (2016-02-08 04:57:17 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1665303004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1665303004/100001
4 years, 10 months ago (2016-02-08 17:53:27 UTC) #34
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 10 months ago (2016-02-08 18:12:12 UTC) #35
commit-bot: I haz the power
4 years, 10 months ago (2016-02-08 18:12:30 UTC) #37
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/1b6265eff71c73e64013299900520a01ec06baa8
Cr-Commit-Position: refs/heads/master@{#33822}

Powered by Google App Engine
This is Rietveld 408576698