mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-21 13:04:18 +02:00
delete ratio test (#2250)
This commit is contained in:
parent
063ffe9f64
commit
19fbc8435e
1 changed files with 0 additions and 6 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue