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

moonbitlang / core / 8304
87%

Build:
DEFAULT BRANCH: main
Ran 14 Nov 2026 08:32AM UTC
Jobs 1
Files 695
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

14 Nov 2026 08:29AM UTC coverage: 88.263% (-0.003%) from 88.266%
8304

push

github

bobzhang
perf(builtin,buffer): grow empty builders straight to 8

Buffer and StringBuilder started doubling from 1 when their buffer was
empty or tiny, so 16 one-byte writes into a default Buffer reallocated at
1, 2, 4, 8 and 16. Array already jumps to 8 on its first growth. Both
growth helpers now never grow to fewer than 8 bytes / UTF-16 code units.

StringBuilder keeps its default capacity of 8. Lowering it to 0 was
measured and regressed small builds by 10-44%: an empty buffer still
allocates, so a builder that is written to allocates twice.

Adds benches for Buffer built without a capacity and for a 32-char
default StringBuilder.

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

1 existing line in 1 file now uncovered.

25718 of 29138 relevant lines covered (88.26%)

767876.2 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
80.66
-0.55% async/process/cmd.mbt
Jobs
ID Job ID Ran Files Coverage
1 8304.1 14 Nov 2026 08:32AM UTC 695
88.26
GitHub Action Run
Source Files on build 8304
  • Tree
  • List 695
  • Changed 3
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 53cb5725 on github
  • Prev Build on main (#8298)
  • Next Build on main (#8306)
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