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

Issue 16932003: CPUProfiler: unflake flaky CPUProfiler tests. (Closed)

Created:
7 years, 6 months ago by loislo
Modified:
7 years, 6 months ago
Reviewers:
Sven Panne, yurys
CC:
v8-dev
Visibility:
Public.

Description

CPUProfiler: unflake flaky CPUProfiler tests. Windows platform is very unstable. So we have no guarantee that the profiler hit into the function we have to be profiled. From the other hand the profiler records the callstack of the js function that started it. We can use that fact and have a guarantee that the function will be in the profile. BUG=none TEST=SourceURLSupportForNewFunctions, LogExistingFunctionSourceURLCheck R= svenpanne@chromium.org, yurys@chromium.org

Patch Set 1 #

Total comments: 18

Patch Set 2 : comments addressed #

Patch Set 3 : HandleScope was moved one line down #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -145 lines) Patch
M test/cctest/cctest.gyp View 1 chunk +1 line, -0 lines 0 comments Download
A + test/cctest/profiler-extension.h View 1 2 chunks +11 lines, -9 lines 0 comments Download
A + test/cctest/profiler-extension.cc View 1 1 chunk +32 lines, -43 lines 0 comments Download
M test/cctest/test-cpu-profiler.cc View 1 2 3 chunks +32 lines, -36 lines 0 comments Download
M test/cctest/test-profile-generator.cc View 1 3 chunks +2 lines, -57 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
loislo
7 years, 6 months ago (2013-06-13 08:58:17 UTC) #1
yurys
https://codereview.chromium.org/16932003/diff/1/test/cctest/profiler-extension.cc File test/cctest/profiler-extension.cc (right): https://codereview.chromium.org/16932003/diff/1/test/cctest/profiler-extension.cc#newcode75 test/cctest/profiler-extension.cc:75: v8::DeclareExtension kProfilerExtensionDeclaration(&kProfilerExtension); not lgtm This should be done only ...
7 years, 6 months ago (2013-06-13 09:11:35 UTC) #2
Sven Panne
LGTM if this consistenly un-flakes things. Can we do something similar for CollectCpuProfile? https://chromiumcodereview.appspot.com/16932003/diff/1/test/cctest/profiler-extension.cc File ...
7 years, 6 months ago (2013-06-13 09:19:12 UTC) #3
yurys
https://codereview.chromium.org/16932003/diff/1/test/cctest/profiler-extension.cc File test/cctest/profiler-extension.cc (right): https://codereview.chromium.org/16932003/diff/1/test/cctest/profiler-extension.cc#newcode75 test/cctest/profiler-extension.cc:75: v8::DeclareExtension kProfilerExtensionDeclaration(&kProfilerExtension); On 2013/06/13 09:11:35, Yury Semikhatsky wrote: > ...
7 years, 6 months ago (2013-06-13 09:21:07 UTC) #4
yurys
On 2013/06/13 09:19:12, Sven Panne wrote: > LGTM if this consistenly un-flakes things. Can we ...
7 years, 6 months ago (2013-06-13 09:25:37 UTC) #5
loislo
https://codereview.chromium.org/16932003/diff/1/test/cctest/profiler-extension.cc File test/cctest/profiler-extension.cc (right): https://codereview.chromium.org/16932003/diff/1/test/cctest/profiler-extension.cc#newcode46 test/cctest/profiler-extension.cc:46: CHECK(false); On 2013/06/13 09:19:12, Sven Panne wrote: > Using ...
7 years, 6 months ago (2013-06-13 10:01:41 UTC) #6
yurys
7 years, 6 months ago (2013-06-13 10:06:22 UTC) #7
lgtm

Powered by Google App Engine
This is Rietveld 408576698