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

sunng87 / handlebars-rust / 45559949541
85%

Build:
DEFAULT BRANCH: master
Ran 25 Nov 2026 06:25AM UTC
Jobs 1
Files 29
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

25 Nov 2026 06:21AM UTC coverage: 85.497% (+0.08%) from 85.413%
45559949541

push

github

web-flow
perf: look up element line/col from pest's line index (#800)

* perf: look up element line/col from pest's line index

`Template::compile2` called `span.start_pos().line_col()` for every
element. `Position::line_col` rescans the source from the start on each
call, so compile time was quadratic in template size.

Use `pair.line_col()`, which reads the line index pest builds once per
parse and returns the same values. It uses that index for flattened
pairs from pest 2.5.5, so require that version.

Add a test that pins element mappings for CRLF and multi-byte input.

* chore: add large template compile benchmark

`parse_large_template` compiles `SOURCE` repeated 200 times (51 KB):
92 ms before the line index change, 4.1 ms after.

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

3 existing lines in 1 file now uncovered.

1745 of 2041 relevant lines covered (85.5%)

8.31 hits per line

Coverage Regressions

Lines Coverage ∆ File
3
91.78
0.6% src/partial.rs
Jobs
ID Job ID Ran Files Coverage
1 45559949541.1 25 Nov 2026 06:25AM UTC 29
85.5
GitHub Action Run
Source Files on build 45559949541
  • Tree
  • List 29
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 126a1fdb on github
  • Prev Build on master (#45558902648)
  • Next Build on master (#45559885094)
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