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

Issue 306443003: Make several cpu-profile tests more stable (Closed)

Created:
6 years, 6 months ago by alph
Modified:
6 years, 6 months ago
Reviewers:
yurys, Toon Verwaest, loislo
CC:
v8-dev
Visibility:
Public.

Description

Make several cpu-profile tests more stable 10 samples they collected were not enough to ensure the expected call tree is covered. Increase the samples count to 100.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -6 lines) Patch
M test/cctest/test-cpu-profiler.cc View 3 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
alph
6 years, 6 months ago (2014-05-26 13:30:05 UTC) #1
yurys
This still looks fragile. Let's not go this way and change the tests to avoid ...
6 years, 6 months ago (2014-05-26 14:34:04 UTC) #2
alph
On 2014/05/26 14:34:04, yurys wrote: > This still looks fragile. Let's not go this way ...
6 years, 6 months ago (2014-05-26 15:13:00 UTC) #3
yurys
On 2014/05/26 15:13:00, alph wrote: > On 2014/05/26 14:34:04, yurys wrote: > > This still ...
6 years, 6 months ago (2014-05-27 07:32:22 UTC) #4
yurys
6 years, 6 months ago (2014-05-27 11:42:56 UTC) #5
All three tests call startProfiling in javascript. It should be enough to change
RunProfiler method to simply stop that profile instead of starting/stopping a
new one. That profile should always contain at least one sample that we check.

Powered by Google App Engine
This is Rietveld 408576698