Test SLOAD¶
Documentation for tests/benchmark/stateful/bloatnet/test_sload.py@5fa5938b.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/benchmark/stateful/bloatnet/test_sload.py --gas-benchmark-values 1
Test Functions Overview¶
| Name | Type | Cases (Amsterdam) | Description |
|---|---|---|---|
test_sload_benchmark |
benchmark_test | 4 | Benchmark SLOAD instruction with various configurations. |
test_sload_bloated |
benchmark_test | 2 | Benchmark SLOAD opcodes targeting an EOA with storage bloated. |
test_sload_bloated_multi_contract |
benchmark_test | 4 | Benchmark SLOAD across a distinct contract per transaction. |
test_sload_bloated_prefetch_miss |
benchmark_test | 4 | Benchmark SLOAD with calldata-driven offsets to defeat prefetching. |
test_sload_same_key_benchmark |
benchmark_test | 2 | Benchmark SLOAD instruction when loading the same key over and over. |