Commit 5c477d5
authored
perf(benchmarks): broaden address benchmark inputs (#236)
Summary
- Expand address benchmark inputs to include uppercase, precompile,
dead, and sample addresses.
Rationale
- A broader address mix reflects real RPC payloads and improves
checksum/construct timing representativeness.
Details
- Updated `benchmarks/data.py` with additional address cases and IDs
consumed by `benchmarks/test_address_benchmarks.py`.
- Tests: `python setup.py build_ext --inplace` (mypy-compiled
extensions; verified `evmspec/_new.cpython-314-x86_64-linux-gnu.so`),
`python -m pytest benchmarks/`.1 parent 0f02831 commit 5c477d5
2 files changed
+17
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
6 | 11 | | |
7 | 12 | | |
8 | 13 | | |
9 | 14 | | |
| 15 | + | |
10 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
11 | 21 | | |
12 | 22 | | |
13 | 23 | | |
14 | 24 | | |
| 25 | + | |
15 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
16 | 31 | | |
17 | 32 | | |
18 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
0 commit comments