Skip to content

perf(shared): avoid object allocation

1dc3fa3
Select commit
Loading
Failed to load commit list.
Open

perf(shared/codegen-core): few small performance improvements #3917

perf(shared): avoid object allocation
1dc3fa3
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded May 19, 2026 in 1s

37.72% (+0.01%) compared to 0c865e1

View this Pull Request on Codecov

37.72% (+0.01%) compared to 0c865e1

Details

Codecov Report

❌ Patch coverage is 42.42424% with 95 lines in your changes missing coverage. Please review.
✅ Project coverage is 37.72%. Comparing base (0c865e1) to head (1dc3fa3).

Files with missing lines Patch % Lines
packages/shared/src/openApi/3.1.x/parser/schema.ts 0.00% 36 Missing and 7 partials ⚠️
packages/shared/src/openApi/3.0.x/parser/schema.ts 0.00% 25 Missing and 4 partials ⚠️
packages/shared/src/openApi/2.0.x/parser/schema.ts 56.00% 10 Missing and 1 partial ⚠️
packages/shared/src/utils/ref.ts 64.70% 4 Missing and 2 partials ⚠️
...ages/shared/src/openApi/3.1.x/parser/pagination.ts 0.00% 2 Missing ⚠️
packages/shared/src/ir/utils.ts 0.00% 1 Missing ⚠️
...ages/shared/src/openApi/2.0.x/parser/pagination.ts 0.00% 1 Missing ⚠️
...ages/shared/src/openApi/3.0.x/parser/pagination.ts 0.00% 1 Missing ⚠️
packages/shared/src/openApi/shared/utils/graph.ts 96.55% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3917      +/-   ##
==========================================
+ Coverage   37.70%   37.72%   +0.01%     
==========================================
  Files         582      582              
  Lines       20844    20880      +36     
  Branches     6063     6075      +12     
==========================================
+ Hits         7860     7876      +16     
- Misses      10570    10591      +21     
+ Partials     2414     2413       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.