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

kibertoad / layered-loader / 28662275514
98%

Build:
DEFAULT BRANCH: main
Ran 03 Jul 2026 01:02PM UTC
Jobs 1
Files 28
Run time 1min
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

03 Jul 2026 01:01PM UTC coverage: 98.46% (+0.1%) from 98.344%
28662275514

push

github

web-flow
Apply remaining #418 performance optimizations on top of #417 (#419)

* Apply performance optimizations from #418 on top of #417

The bug fixes originally bundled in #418 (falsy value caching in
InMemoryCache/InMemoryGroupCache getMany, and reads no longer inserting
empty groups into the LRU) already landed via #417, so only the
performance and code-quality changes remain:

- AbstractFlatCache/AbstractGroupCache: resolve the cache key once and
  reuse it across getInMemoryOnly/getAsyncOnly/get instead of resolving
  it multiple times per call
- getMany merge appends async results into the in-memory result array in
  place (it is always freshly allocated) rather than spreading into a new
  array
- Loader/GroupLoader: build cache entries with an explicit loop, merge
  cached and loaded values with concat (cachedValues may be owned by a
  user-implemented async cache), and hoist the dataSource local
- AbstractRedisCache: precompute keyPrefix; RedisGroupCache: precompute
  the group index prefix and the per-group entry prefix
- unique(): early return for arrays of 0-1 elements

Regression tests for the falsy-caching path at the loader level and for
the unique() early return are included.

* Update toad-cache

406 of 424 branches covered (95.75%)

Branch coverage included in aggregate %.

50 of 50 new or added lines in 7 files covered. (100.0%)

745 of 745 relevant lines covered (100.0%)

123.11 hits per line

Jobs
ID Job ID Ran Files Coverage
1 28662275514.1 03 Jul 2026 01:02PM UTC 28
98.46
GitHub Action Run
Source Files on build 28662275514
  • Tree
  • List 28
  • Changed 7
  • Source Changed 7
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #28662275514
  • 3682d1c1 on github
  • Prev Build on main (#28658774958)
  • Next Build on main (#28715985926)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc