Add benchmark scenario guidance#3531
Conversation
|
Warning Review limit reached
Next review available in: 5 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (3)
📒 Files selected for processing (2)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
📚 Docs Preview: https://pr-3531.datamodel-code-generator.pages.dev |
Merging this PR will degrade performance by 17.39%
|
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ❌ | WallTime | test_perf_deep_nested |
4.1 s | 5.1 s | -19.08% |
| ❌ | WallTime | test_perf_kubernetes_style_pydantic_v2 |
2.1 s | 2.6 s | -18.51% |
| ❌ | WallTime | test_perf_all_options_enabled |
4.3 s | 5.3 s | -18.13% |
| ❌ | WallTime | test_perf_stripe_style_pydantic_v2 |
1.6 s | 2 s | -17.95% |
| ❌ | WallTime | test_perf_graphql_style_pydantic_v2 |
648 ms | 787.9 ms | -17.76% |
| ❌ | WallTime | test_perf_openapi_large |
2.4 s | 2.9 s | -17.6% |
| ❌ | WallTime | test_perf_aws_style_openapi_pydantic_v2 |
1.6 s | 1.9 s | -16.68% |
| ❌ | WallTime | test_perf_duplicate_names |
851 ms | 1,021 ms | -16.65% |
| ❌ | WallTime | test_perf_large_models_pydantic_v2 |
2.9 s | 3.5 s | -16.56% |
| ❌ | WallTime | test_perf_multiple_files_input |
2.9 s | 3.4 s | -16.3% |
| ❌ | WallTime | test_perf_complex_refs |
1.6 s | 1.9 s | -16.04% |
Tip
Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.
Comparing docs-benchmark-guidance (50fbee6) with main (0f09aee)
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. ↩
71036a3 to
50fbee6
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3531 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 158 158
Lines 34254 34254
Branches 4001 4001
=========================================
Hits 34254 34254
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
🎉 Released in 0.67.0 This PR is now available in the latest release. See the release notes for details. |
No description provided.