Commit abb5d89
blackhole-agent
test: assert scaling ratio directly with epsilon floor
Addresses review feedback on #4040: the absolute-time
fallback (Math.max(t1 * 3.5, 0.5)) could let superlinear behavior pass
on fast runners when both timings were below 0.5s. Assert the t2/t1
ratio directly with a tiny epsilon floor to avoid divide-by-zero.1 parent 3f0a750 commit abb5d89
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
37 | 41 | | |
38 | | - | |
39 | | - | |
| 42 | + | |
| 43 | + | |
40 | 44 | | |
41 | 45 | | |
42 | 46 | | |
| |||
0 commit comments