Map OpenAPI Discriminator mapping's values to their real value in enums #3074
Performance Regression: -15.48%
⚠️ Unknown Walltime execution environment detected
Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data.
For the most accurate results, we recommend using CodSpeed Macro Runners: bare-metal machines fine-tuned for performance measurement consistency.
⚠️ Different runtime environments detected
Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.
❌ 11 regressed benchmarks
⏩ 98 skipped benchmarks1
⚠️ Please fix the performance issues or acknowledge them on CodSpeed.
Performance Changes
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ❌ | WallTime | test_perf_all_options_enabled |
6 s | 6.8 s | -12.57% |
| ❌ | WallTime | test_perf_deep_nested |
5.6 s | 6.4 s | -12.7% |
| ❌ | WallTime | test_perf_openapi_large |
2.6 s | 3.1 s | -14.69% |
| ❌ | WallTime | test_perf_kubernetes_style_pydantic_v2 |
2.4 s | 2.8 s | -13.66% |
| ❌ | WallTime | test_perf_duplicate_names |
964.4 ms | 1,119.3 ms | -13.84% |
| ❌ | WallTime | test_perf_multiple_files_input |
3.4 s | 3.9 s | -13.31% |
| ❌ | WallTime | test_perf_large_models_pydantic_v2 |
3.3 s | 3.9 s | -15.48% |
| ❌ | WallTime | test_perf_stripe_style_pydantic_v2 |
1.8 s | 2.1 s | -12.91% |
| ❌ | WallTime | test_perf_graphql_style_pydantic_v2 |
751.9 ms | 868.9 ms | -13.46% |
| ❌ | WallTime | test_perf_complex_refs |
2 s | 2.3 s | -12.6% |
| ❌ | WallTime | test_perf_aws_style_openapi_pydantic_v2 |
1.7 s | 2 s | -14.33% |
Comparing ilovelinux:fix/ilovelinux-3073-enum-literal-values (5d8f912) with main (92bdc27)
Footnotes
-
98 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩