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

bootstrapworld / codemirror-blocks / 41068659429
96%

Build:
DEFAULT BRANCH: master
Ran 30 Oct 2026 02:05PM UTC
Jobs 1
Files 62
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

30 Oct 2026 01:52PM UTC coverage: 84.412% (+0.04%) from 84.368%
41068659429

push

github

schanzer
perf(ast): print each node's layout once per print, not once per use

The pretty-printer builds both the one-line and the broken layout of a list
from the same children, and asks each child for its Doc again every time, so a
node nested n deep was printed 2^n times. big-expression.rkt (537 bytes) took
about 4.3 seconds; building its Doc now takes 1 ms. While one print is under
way each node makes its Doc once and shares it; nothing is kept afterwards,
because fakeAstEdits mutates cloned nodes between prints.

The printed text is byte-identical for every example program. big-expression.rkt
is no longer skipped in lifecycle-test, and a new check that it prints in under
a second fails (4.3 s) without the change.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

1772 of 2387 branches covered (74.24%)

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

55 existing lines in 7 files now uncovered.

3168 of 3753 relevant lines covered (84.41%)

4585.78 hits per line

Coverage Regressions

Lines Coverage ∆ File
23
78.41
0.25% packages/codemirror-blocks/src/CodeMirror-api.tsx
11
90.83
0.0% packages/codemirror-blocks/src/components/Node.tsx
9
66.67
0.0% packages/codemirror-blocks/src/nodes.tsx
7
82.14
0.0% packages/codemirror-blocks/src/ui/PrimitiveList.tsx
3
26.67
0.0% packages/codemirror-blocks/src/CodeMirrorBlocks.tsx
1
97.33
0.0% packages/codemirror-blocks/src/components/NodeEditable.tsx
1
94.77
-0.5% packages/codemirror-blocks/src/edits/performEdits.ts
Jobs
ID Job ID Ran Files Coverage
1 41068659429.1 30 Oct 2026 02:05PM UTC 62
84.41
GitHub Action Run
Source Files on build 41068659429
  • Tree
  • List 62
  • Changed 11
  • Source Changed 0
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 126da577 on github
  • Prev Build on master (#41062270225)
  • Next Build on master (#41069973603)
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