• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

RobinTail / express-zod-api / 25093561398 / 6
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 29 Apr 2026 06:07AM UTC
Files 46
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

29 Apr 2026 06:05AM UTC coverage: 100.0%. Remained the same
25093561398.6

push

github

web-flow
ref(mem,perf): Turning well-known headers into a `Set` (#3351)

This should solve two problems:
1. Unnecessary memory consumption (2k) by the large array that is
statically imported while only used by Documentation (not API runtime);
2. `Array::includes()` is O(n) while `Set::has` is O(1): in current
situation it could give about 5.5x performance improvement in worst
scenario (finding last entry)

The solution, however, requires a lazy creation of the `Set` because it
uses even more memory, so:
- ~~`R.once()` is involved, which is also reducing the expected
performance boost down to 3.58x~~,
- module cache with nullish coalescing assignment used giving 4.8x boost
(better than R.once)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Performance Improvements**
* Header lookup now uses a memoized set for faster, lower-memory checks.

* **Tests**
  * Added benchmarks measuring header lookup performance.
  * Added unit tests validating the memoized header collection.
  * Removed an obsolete queue-operations benchmark.

* **Chores**
* Updated generated tooling output to use the new header lookup
approach.

* **Changelog**
  * Recorded release v27.2.5 noting memory and lookup improvements.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

946 of 986 branches covered (95.94%)

1385 of 1385 relevant lines covered (100.0%)

67.2 hits per line

Source Files on job run-22.12.0 - 25093561398.6
  • Tree
  • List 46
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 25093561398
  • 7757d69e on github
  • Prev Job for on master (#24954822625.3)
  • Next Job for on master (#25151035790.5)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc