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

moonbitlang / x / 808 / 1
87%
main: 87%

Build:
DEFAULT BRANCH: main
Ran 26 May 2026 03:22AM UTC
Files 62
Run time 3s
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

26 May 2026 03:21AM UTC coverage: 87.057%. Remained the same
808.1

push

github

peter-jerry-ye
perf(path): write StringView components via write_view instead of copying to_owned

UnixPath::Show::output and WinPath::Show::output wrote each
path component as logger.write_string(x.to_owned()) where x is a
StringView. to_owned() copies the view into a newly allocated String,
which write_string then copies again into the builder -- one
allocation + two copies per component, where Logger already exposes
write_view(StringView) doing the job in a single step.

Path::normalize(p) is UnixPath::parse(p.0).to_string(), so every
normalize goes through Show::output and pays the per-component copy.

path_normalize bench (native, 3-run median, 10-segment path with ..
and . x 200k iters):
  baseline: 282 ms
  patched : 209 ms  (-25.9%)

2334 of 2681 relevant lines covered (87.06%)

341.71 hits per line

Source Files on job 808.1
  • Tree
  • List 62
  • Changed 2
  • Source Changed 2
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 808
  • 135d1415 on github
  • Prev Job for on main (#806.1)
  • Next Job for on main (#813.1)
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