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

Teamwork / kommentaar / 28534006016
55%
master: 55%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v0.3.3
DEFAULT BRANCH: master
Ran 01 Jul 2026 04:57PM UTC
Jobs 1
Files 10
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

01 Jul 2026 04:57PM UTC coverage: 55.214% (+1.6%) from 53.654%
28534006016

push

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.

137 of 158 new or added lines in 1 file covered. (86.71%)

3 existing lines in 1 file now uncovered.

1292 of 2340 relevant lines covered (55.21%)

40.69 hits per line

Uncovered Changes

Lines Coverage ∆ File
21
58.08
5.96% docparse/find.go

Coverage Regressions

Lines Coverage ∆ File
3
58.08
5.96% docparse/find.go
Jobs
ID Job ID Ran Files Coverage
1 28534006016.1 01 Jul 2026 04:57PM UTC 10
55.21
GitHub Action Run
Source Files on build 28534006016
  • Tree
  • List 10
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • e03ce623 on github
  • Prev Build on master (#27542449118)
  • 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