Redocly / redocly-cli

⚒️ Redocly CLI makes OpenAPI easy. Lint/validate to any standard, generate beautiful docs, and more.
https://redocly.com/docs/cli/
MIT License
952 stars 149 forks source link

chore: update benchmarks, coverage threshold; improve types and names #1781

Closed tatomyr closed 1 month ago

tatomyr commented 1 month ago

What/Why/How?

Updated benchmarks with the recent CLI versions. Adjusted the benchmark command. Bumped code coverage threshold. Improved types and naming.

Reference

Testing

Screenshots (optional)

Check yourself

Security

changeset-bot[bot] commented 1 month ago

⚠️ No Changeset found

Latest commit: 321e4d2e3d4d2b9940d0d49ad35f650bc1a0ba2b

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

github-actions[bot] commented 1 month ago
Command Mean [ms] Min [ms] Max [ms] Relative
redocly lint packages/core/src/benchmark/benches/rebilly.yaml 981.7 ± 30.4 956.2 1062.5 1.00 ± 0.03
redocly-next lint packages/core/src/benchmark/benches/rebilly.yaml 979.7 ± 11.4 967.8 1004.3 1.00
github-actions[bot] commented 1 month ago

Coverage report

St.:grey_question:
Category Percentage Covered / Total
🟡 Statements 78.58% 4993/6354
🟡 Branches 67.24% 2063/3068
🟡 Functions 73.01% 825/1130
🟡 Lines 78.87% 4711/5973

Test suite run success

810 tests passing in 121 suites.

Report generated by 🧪jest coverage report action from 321e4d2e3d4d2b9940d0d49ad35f650bc1a0ba2b