Commit 1ddbc44
[VM/Service] Tweak profile_startup_cli_flag_test to make it less flaky
The `--profile-period` argument is used when calculating a sample buffer
size that satisfies the `--sample-buffer-duration` argument, so this CL
changes the `--profile-period` argument we pass from 100 to 500, because
the profiler is more likely to actually hit that rate of sampling.
This CL also changes `testeeMain` to spin for 10 seconds instead of 5
seconds, to make it more likely to fill up the sample buffer.
Issue: #61191
Change-Id: Ic18b47f86bd2495b7df1af4d7f886fb11aa42812
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/442242
Commit-Queue: Derek Xu <[email protected]>
Reviewed-by: Ben Konyi <[email protected]>1 parent a56db1a commit 1ddbc44
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| |||
0 commit comments