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

pirl-unc / hitlist / 25077832559
80%

Build:
DEFAULT BRANCH: main
Ran 28 Apr 2026 09:11PM UTC
Jobs 1
Files 25
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

28 Apr 2026 09:09PM UTC coverage: 69.277% (-0.002%) from 69.279%
25077832559

push

github

web-flow
v1.30.3: Inline _pack into ProteomeIndex._build hot loop (#176) (#186)

Profile run (cProfile on the full peptide_mappings build) showed
``_pack`` accounting for ~88s of runtime over 1.13B calls — pure
Python function-call overhead, since the function body is only a
shift+OR. ``_build`` itself was 79% of the 46-minute build.

Inlining the pack into the inner loop and hoisting the per-protein
``pi << _PROT_BITS`` shift out of the kmer loop drops a microbench
(500 proteins x 400aa, lengths 8-11) from ~1250ms to ~840ms — about
33% on the inner loop.

Also dropped a ``setdefault`` attempt that benchmarked ~10% slower
because the default ``[]`` argument is built on every call even on
the common key-exists path; the explicit ``raw.get`` + branch wins.

No behavioral change — packed values, index layout, and downstream
``map_peptides`` are unaffected. Existing proteome tests cover the
correctness of ``_build``.

3317 of 4788 relevant lines covered (69.28%)

0.69 hits per line

Coverage Regressions

Lines Coverage ∆ File
14
87.8
-0.26% proteome.py
Jobs
ID Job ID Ran Files Coverage
1 25077832559.1 28 Apr 2026 09:11PM UTC 25
69.28
GitHub Action Run
Source Files on build 25077832559
  • Tree
  • List 25
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25077832559
  • fbee2b21 on github
  • Prev Build on main (#25075450224)
  • Next Build on main (#25142379586)
  • 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