Commit dd8a704
committed
fix(cli): clamp the benchmark overhead sample at zero
Overhead is wall time minus the sum of the phase deltas. The unattributed
preamble keeps the remainder positive in practice, but summing many small
phase values can round just above the wall measurement, and a negative
overhead in the report would read as an accounting bug.1 parent 9f7a311 commit dd8a704
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
186 | 190 | | |
187 | 191 | | |
188 | 192 | | |
| |||
0 commit comments