Test Control Flow¶
Documentation for tests/benchmark/compute/instruction/test_control_flow.py@8db70f93.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/benchmark/compute/instruction/test_control_flow.py --gas-benchmark-values 1
Test Functions Overview¶
| Name | Type | Cases (Amsterdam) | Description |
|---|---|---|---|
test_gas_op |
benchmark_test | 1 | Benchmark GAS instruction. |
test_jump_benchmark |
benchmark_test | 1 | Benchmark JUMP instruction with different dest. |
test_jumpdests |
benchmark_test | 1 | Benchmark JUMPDEST instruction. |
test_jumpi_fallthrough |
benchmark_test | 1 | Benchmark JUMPI instruction with fallthrough. |
test_jumpis |
benchmark_test | 1 | Benchmark JUMPI instruction. |
test_jumps |
benchmark_test | 1 | Benchmark JUMP instruction. |
test_pc_op |
benchmark_test | 1 | Benchmark PC instruction. |