Skip to content

Commit 50fdf39

Browse files
authored
chore(tests): remove slow/zkevm markers from benchmark tests. (#1953)
1 parent e88cd81 commit 50fdf39

File tree

3 files changed

+0
-17
lines changed

3 files changed

+0
-17
lines changed

tests/benchmark/test_worst_bytecode.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
Op.EXTCODECOPY,
4747
],
4848
)
49-
@pytest.mark.slow()
5049
@pytest.mark.valid_from("Cancun")
5150
def test_worst_bytecode_single_opcode(
5251
blockchain_test: BlockchainTestFiller,

tests/benchmark/test_worst_compute.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,6 @@ def test_worst_keccak(
426426
pytest.param(0x04, 15, 3, 1, id="IDENTITY"),
427427
],
428428
)
429-
@pytest.mark.slow()
430429
def test_worst_precompile_only_data_input(
431430
state_test: StateTestFiller,
432431
pre: Alloc,
@@ -1077,7 +1076,6 @@ def test_worst_modexp(
10771076
),
10781077
],
10791078
)
1080-
@pytest.mark.slow()
10811079
def test_worst_precompile_fixed_cost(
10821080
state_test: StateTestFiller,
10831081
pre: Alloc,
@@ -1137,7 +1135,6 @@ def test_worst_precompile_fixed_cost(
11371135

11381136

11391137
@pytest.mark.valid_from("Cancun")
1140-
@pytest.mark.slow
11411138
def test_worst_jumps(state_test: StateTestFiller, pre: Alloc):
11421139
"""Test running a JUMP-intensive contract."""
11431140
env = Environment()
@@ -1159,9 +1156,7 @@ def test_worst_jumps(state_test: StateTestFiller, pre: Alloc):
11591156
)
11601157

11611158

1162-
@pytest.mark.zkevm
11631159
@pytest.mark.valid_from("Cancun")
1164-
@pytest.mark.slow
11651160
def test_worst_jumpi_fallthrough(
11661161
state_test: StateTestFiller,
11671162
pre: Alloc,
@@ -1199,9 +1194,7 @@ def jumpi_seq():
11991194
)
12001195

12011196

1202-
@pytest.mark.zkevm
12031197
@pytest.mark.valid_from("Cancun")
1204-
@pytest.mark.slow
12051198
def test_worst_jumpis(
12061199
state_test: StateTestFiller,
12071200
pre: Alloc,
@@ -1227,7 +1220,6 @@ def test_worst_jumpis(
12271220

12281221

12291222
@pytest.mark.valid_from("Cancun")
1230-
@pytest.mark.slow
12311223
def test_worst_jumpdests(state_test: StateTestFiller, pre: Alloc, fork: Fork):
12321224
"""Test running a JUMPDEST-intensive contract."""
12331225
env = Environment()
@@ -2007,7 +1999,6 @@ def test_empty_block(
20071999

20082000

20092001
@pytest.mark.valid_from("Cancun")
2010-
@pytest.mark.slow()
20112002
def test_amortized_bn128_pairings(
20122003
state_test: StateTestFiller,
20132004
pre: Alloc,

tests/benchmark/test_worst_stateful_opcodes.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
False,
4848
],
4949
)
50-
@pytest.mark.slow()
5150
def test_worst_address_state_cold(
5251
blockchain_test: BlockchainTestFiller,
5352
pre: Alloc,
@@ -137,7 +136,6 @@ def test_worst_address_state_cold(
137136
False,
138137
],
139138
)
140-
@pytest.mark.slow()
141139
def test_worst_address_state_warm(
142140
state_test: StateTestFiller,
143141
pre: Alloc,
@@ -209,7 +207,6 @@ class StorageAction:
209207
False,
210208
],
211209
)
212-
@pytest.mark.slow()
213210
def test_worst_storage_access_cold(
214211
blockchain_test: BlockchainTestFiller,
215212
pre: Alloc,
@@ -315,7 +312,6 @@ def test_worst_storage_access_cold(
315312
pytest.param(StorageAction.WRITE_NEW_VALUE, id="SSTORE new value"),
316313
],
317314
)
318-
@pytest.mark.slow()
319315
def test_worst_storage_access_warm(
320316
blockchain_test: BlockchainTestFiller,
321317
pre: Alloc,
@@ -381,7 +377,6 @@ def test_worst_storage_access_warm(
381377

382378

383379
@pytest.mark.valid_from("Cancun")
384-
@pytest.mark.slow()
385380
def test_worst_blockhash(
386381
blockchain_test: BlockchainTestFiller,
387382
pre: Alloc,
@@ -413,7 +408,6 @@ def test_worst_blockhash(
413408

414409

415410
@pytest.mark.valid_from("Cancun")
416-
@pytest.mark.slow()
417411
def test_worst_selfbalance(
418412
state_test: StateTestFiller,
419413
pre: Alloc,
@@ -457,7 +451,6 @@ def test_worst_selfbalance(
457451
pytest.param(5 * 1024, id="5KiB"),
458452
],
459453
)
460-
@pytest.mark.slow()
461454
def test_worst_extcodecopy_warm(
462455
state_test: StateTestFiller,
463456
pre: Alloc,

0 commit comments

Comments
 (0)