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

moonbitlang / core / 6287
91%

Build:
DEFAULT BRANCH: main
Ran 22 Aug 2026 06:34AM UTC
Jobs 1
Files 452
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

22 Aug 2026 06:31AM UTC coverage: 90.873% (+0.005%) from 90.868%
6287

push

github

bobzhang
bench(hashmap): isolate removal by copying a prebuilt map

The removal benchmark rebuilt the 50000-entry map inside the timed
closure, so it measured insertion and growth as well -- and insertion is
one of the paths this branch optimizes, which makes the number
unattributable. Copilot and Codex both flagged it.

`@bench.T` has no per-iteration setup hook, so the map still has to be
produced inside the closure. Copying a prebuilt one is a single pass over
the table rather than 50000 hash-and-probe insertions: about 0.86 ms
against the 2.4 ms a rebuild costs on js. A companion benchmark times the
copy alone, so removal can be read off by difference.

On js that gives removal 875 us on `main` against 690 us here, 21%
faster -- an attributable figure, where the combined benchmark could only
say that a mixed workload improved. The `set+remove` benchmark stays,
named for what it measures.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

16757 of 18440 relevant lines covered (90.87%)

306599.69 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6287.1 22 Aug 2026 06:34AM UTC 453
90.89
GitHub Action Run
Source Files on build 6287
  • Tree
  • List 452
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • b42ef3ca on github
  • Prev Build on main (#6284)
  • Next Build on main (#6289)
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