Skip to content

Commit de321f8

Browse files
abhijeet-dhumalntkathole
authored andcommitted
fix(test): lower performance benchmark threshold from 1.5x to 1.2x
The 1.5x speedup assertion for convert_response_to_dict is consistently flaky on macOS CI runners (getting 1.26-1.34x) due to variable load. 1.2x is still a meaningful regression guard without being brittle. Signed-off-by: abhijeet-dhumal <abhijeetdhumal652@gmail.com>
1 parent 17405f3 commit de321f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sdk/python/tests/unit/test_feature_server_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ def test_faster_than_message_to_dict(self):
677677
print(f"\nPerformance: fast={fast_time:.3f}s, standard={standard_time:.3f}s")
678678
print(f"Speedup: {speedup:.2f}x")
679679

680-
assert speedup >= 1.5, f"Expected at least 1.5x speedup, got {speedup:.2f}x"
680+
assert speedup >= 1.2, f"Expected at least 1.2x speedup, got {speedup:.2f}x"
681681

682682

683683
class TestStatusNames:

0 commit comments

Comments
 (0)