From 19fbc8435ea990d44638cbe0661df920daffa34a Mon Sep 17 00:00:00 2001 From: Jeremiah Lowin <153965+jlowin@users.noreply.github.com> Date: Fri, 24 Oct 2025 19:10:19 -0400 Subject: [PATCH] delete ratio test (#2250) --- .../server/openapi/test_performance_comparison.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tests/experimental/openapi_parser/server/openapi/test_performance_comparison.py b/tests/experimental/openapi_parser/server/openapi/test_performance_comparison.py index 99ee4f886..808c3379f 100644 --- a/tests/experimental/openapi_parser/server/openapi/test_performance_comparison.py +++ b/tests/experimental/openapi_parser/server/openapi/test_performance_comparison.py @@ -213,12 +213,6 @@ class TestPerformanceComparison: f"Legacy should also be fast on small specs, got {legacy_avg:.4f}s" ) - # Performance should be comparable (within reasonable margin) - performance_ratio = max(new_avg, legacy_avg) / min(new_avg, legacy_avg) - assert performance_ratio < 3.0, ( - f"Performance should be comparable, ratio: {performance_ratio:.2f}x" - ) - def test_functionality_identical_after_optimization(self, comprehensive_spec): """Verify that performance optimization doesn't break functionality.""" client = httpx.AsyncClient(base_url="https://api.example.com")