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

Teamwork / kommentaar / 28533681959 / 1
55%
master: 55%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v0.3.3
DEFAULT BRANCH: master
Ran 01 Jul 2026 04:52PM UTC
Files 10
Run time 0s
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

01 Jul 2026 04:50PM UTC coverage: 55.423% (+1.8%) from 53.654%
28533681959.1

Pull #115

github

shane-tw
docparse: speed up doc generation via parallel parsing and package preloading

- Parse all source files concurrently in FindComments using a WaitGroup;
  each goroutine owns its own token.FileSet.
- Cache parsed *ast.File values by absolute path (astFileCache sync.Map)
  so getDecls reuses already-parsed ASTs instead of re-reading files.
- Parallel-parse any uncached files inside getDecls as well.
- Batch-resolve all imported packages with a single packages.Load call
  (preloadPackages) before the serial endpoint-processing loop, pre-populating
  resolvedPkgCache and declsCache to eliminate cold build.Import calls.
- Cache both successes and failures in resolvedPkgCache (pkgResult) so
  short package names that fail the first lookup are not retried repeatedly.
- Emit progress lines to stderr so users can see what is happening.
Pull Request #115: docparse: speed up doc generation via parallel parsing and package preloading

1303 of 2351 relevant lines covered (55.42%)

40.51 hits per line

Source Files on job 28533681959.1
  • Tree
  • List 10
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 28533681959
  • 2debc051 on github
  • Prev Job for on perf/parallel-file-parsing (#27542449118.1)
  • Next Job for on perf/parallel-file-parsing (#28534006016.1)
  • Delete
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