redocly-cli icon indicating copy to clipboard operation
redocly-cli copied to clipboard

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

Open tatomyr opened this issue 1 year ago • 3 comments

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

  • [ ] Code changed? - Tested with redoc/reference-docs/workflows (internal)
  • [ ] All new/updated code is covered with tests
  • [ ] New package installed? - Tested in different environments (browser/node)

Security

  • [x] Security impact of change has been considered
  • [x] Code follows company security practices and guidelines

tatomyr avatar Oct 22 '24 08:10 tatomyr

⚠️ 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

changeset-bot[bot] avatar Oct 22 '24 08:10 changeset-bot[bot]

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] avatar Oct 22 '24 08:10 github-actions[bot]

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

github-actions[bot] avatar Oct 22 '24 08:10 github-actions[bot]