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

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

Build:
Build:
LAST BUILD BRANCH: refs/tags/v0.3.3
DEFAULT BRANCH: master
Ran 01 Jul 2026 04:11PM 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:11PM UTC coverage: 55.144% (+1.5%) from 53.654%
28531398977.1

Pull #115

github

shane-tw
docparse: cache package resolution to avoid repeated go list calls

resolvePackageWithFallback calls goutil.ResolvePackage (build.Import)
for every unique type reference. In module mode build.Import can spawn
a go list subprocess, making each call expensive even when resolving
the same package repeatedly.

Add two caches:
- resolvedPkgCache: keyed by import path, caches *build.Package from
  resolvePackageWithFallback so build.Import is called at most once
  per unique import path per run
- resolveImportCache: keyed by (currentFile, pkgPath), caches results
  from goutil.ResolveImport so short package names are only resolved
  to full import paths once per source file

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Pull Request #115: docparse: parse source files in parallel

1281 of 2323 relevant lines covered (55.14%)

40.4 hits per line

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