Skip to content

Commit 19fbc84

Browse files
authored
delete ratio test (#2250)
1 parent 063ffe9 commit 19fbc84

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tests/experimental/openapi_parser/server/openapi/test_performance_comparison.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -213,12 +213,6 @@ def test_server_initialization_performance(self, comprehensive_spec):
213213
f"Legacy should also be fast on small specs, got {legacy_avg:.4f}s"
214214
)
215215

216-
# Performance should be comparable (within reasonable margin)
217-
performance_ratio = max(new_avg, legacy_avg) / min(new_avg, legacy_avg)
218-
assert performance_ratio < 3.0, (
219-
f"Performance should be comparable, ratio: {performance_ratio:.2f}x"
220-
)
221-
222216
def test_functionality_identical_after_optimization(self, comprehensive_spec):
223217
"""Verify that performance optimization doesn't break functionality."""
224218
client = httpx.AsyncClient(base_url="https://api.example.com")

0 commit comments

Comments
 (0)