Commit 52888ae
authored
Use a fixed hash seed in perf_compare script (#18285)
With a random hash seed the measurements can vary a lot even for
different builds based on the same commit. Some builds were consistently
faster/slower than others, even though there were no code changes. This
makes the measurements more predictable.
It looks like mypyc output has some randomness, though I haven't looked
into the root cause in detail.1 parent bec5cad commit 52888ae
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
| 64 | + | |
63 | 65 | | |
64 | 66 | | |
65 | 67 | | |
| |||
0 commit comments