Test Worst Bytecode¶
Documentation for tests/benchmark/test_worst_bytecode.py@0f7c73a7
.
Generate fixtures for these test cases for Prague with:
fill -v tests/benchmark/test_worst_bytecode.py --fork Prague
Tests that benchmark EVMs in worst-case opcode scenarios.
Tests that benchmark EVMs in worst-case opcode scenarios.
Tests that benchmark EVMs in worst-case opcode scenarios.
Test Functions Overview¶
Name | Type | Cases (Prague) | Description |
---|---|---|---|
test_worst_bytecode_single_opcode |
blockchain_test | 7 | Test a block execution where a single opcode execution maxes out the gas limit, |
test_worst_initcode_jumpdest_analysis |
state_test | 6 | Test the jumpdest analysis performance of the initcode. |
test_worst_create |
state_test | 20 | Test the CREATE and CREATE2 performance with different configurations. |
test_worst_creates_collisions |
state_test | 2 | Test the CREATE and CREATE2 collisions performance. |