Skip to content

Commit 3324331

Browse files
Adjust MAX_TIME_PER_OP in 'perf_packet_fields.uts'
Based on github ci experimentation.
1 parent e32dab1 commit 3324331

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/perf_packet_fields.uts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ NUMBER_OF_F_PER_I = 100
1616
# - Make `TestPacket.end_case()` check for exact operation counts.
1717
ASSERT_COUNTS = False
1818
# - About 1.5s measured with optimizations on Windows / Python 3.8.6 with NUMBER_OF_I_PER_M=100, NUMBER_OF_F_PER_I=100.
19-
MAX_TIME_PER_OP = (1.5 / (100.0 * 100.0)) * 1.10 # 10% margin.
19+
# - About 1.9s measured with optimizations on github ci windows-latest / Python 3.13 with NUMBER_OF_I_PER_M=100, NUMBER_OF_F_PER_I=100.
20+
MAX_TIME_PER_OP = (2.0 / (100.0 * 100.0)) * 1.10 # 10% margin.
2021

2122
class TestPacket(Packet):
2223
"""Base class for `M`, `I` and `F`."""

0 commit comments

Comments
 (0)