Test Comparison¶
Documentation for tests/benchmark/compute/instruction/test_comparison.py@8db70f93.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/benchmark/compute/instruction/test_comparison.py --gas-benchmark-values 1
Test Functions Overview¶
| Name | Type | Cases (Amsterdam) | Description |
|---|---|---|---|
test_comparison |
benchmark_test | 5 | Benchmark binary instructions (takes two args, pushes one value). |
test_iszero |
benchmark_test | 1 | Benchmark ISZERO instruction (takes one arg, pushes one value). |