sway icon indicating copy to clipboard operation
sway copied to clipboard

Add criterion benchmark to forc-doc + initial code quality pass

Open JoshuaBatty opened this issue 6 months ago • 1 comments

Description

Doing some general code quality changes at the same time.

Checklist

  • [ ] I have linked to any relevant issues.
  • [ ] I have commented my code, particularly in hard-to-understand areas.
  • [ ] I have updated the documentation where relevant (API docs, the reference, and the Sway book).
  • [ ] I have added tests that prove my fix is effective or that my feature works.
  • [ ] I have added (or requested a maintainer to add) the necessary Breaking* or New Feature labels where relevant.
  • [ ] I have done my best to ensure that my PR adheres to the Fuel Labs Code Review Standards.
  • [ ] I have requested a review from the relevant team or maintainers.

JoshuaBatty avatar Jun 20 '25 03:06 JoshuaBatty

CodSpeed Performance Report

Merging #7242 will improve performances by 13.06%

Comparing josh/forc_doc (7e4be66) with master (0ac606c)

Summary

âš¡ 1 improvements
✅ 23 untouched benchmarks
🆕 1 new benchmarks

Benchmarks breakdown

Benchmark BASE HEAD Change
🆕 build_std_lib_docs N/A 299.1 ms N/A
⚡ tokens_for_program 593.7 µs 525.1 µs +13.06%

codspeed-hq[bot] avatar Jun 20 '25 04:06 codspeed-hq[bot]