Commit af6a863
committed
Use a fixed hash seed in perf_compare script
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 40730c9 commit af6a863
1 file changed
+2
-0
lines changed| 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