Skip to content

Test Worst Memory

Documentation for tests/benchmark/test_worst_memory.py@5e681944.

Generate fixtures for these test cases for Prague with:

fill -v tests/benchmark/test_worst_memory.py --fork Prague
Tests that benchmark EVMs in the worst-case memory opcodes.

Tests that benchmark EVMs in the worst-case memory opcodes.

Tests that benchmark EVMs in the worst-case memory opcodes.

Test Functions Overview

Name Type Cases (Prague) Description
test_worst_calldatacopy state_test 32 Test running a block filled with CALLDATACOPY executions.
test_worst_codecopy state_test 10 Test running a block filled with CODECOPY executions.
test_worst_returndatacopy state_test 8 Test running a block filled with RETURNDATACOPY executions.
test_worst_mcopy state_test 8 Test running a block filled with MCOPY executions.