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

beartype / plum / 34157530305
99%

Build:
DEFAULT BRANCH: master
Ran 07 Sep 2026 07:57PM UTC
Jobs 7
Files 16
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

07 Sep 2026 07:57PM UTC coverage: 99.346% (+0.01%) from 99.335%
34157530305

push

github

web-flow
perf(promotion): skip identity return conversions (#292)

Return annotations currently send every result through convert, even when
the fallback conversion simply checks the type and returns the object
unchanged. Cache these identity conversions by (type(obj), target_type) so
subsequent calls can bypass type-hint resolution and dispatch entirely.

Record both positive and negative results only when the fallback is faithful,
and invalidate the cache when conversion methods or global caches change.
Call resolved conversion methods directly to avoid the per-call wrapper created
by invoke.

Add regression and benchmark tests covering unions, Literal and
value-dependent checks, conversion registration, cache limits, and cache
invalidation. Annotated return calls improve by ~7.2×, with union returns
improving by ~14×.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>

24 of 24 new or added lines in 3 files covered. (100.0%)

1063 of 1070 relevant lines covered (99.35%)

6.73 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.13-pre-beartype - 34157530305.1 07 Sep 2026 07:57PM UTC 16
98.96
GitHub Action Run
2 run-3.12 - 34157530305.2 07 Sep 2026 07:58PM UTC 16
98.96
GitHub Action Run
3 run-3.11 - 34157530305.3 07 Sep 2026 07:57PM UTC 16
98.96
GitHub Action Run
4 run-3.10 - 34157530305.4 07 Sep 2026 07:58PM UTC 16
98.86
GitHub Action Run
5 run-3.14 - 34157530305.5 07 Sep 2026 07:57PM UTC 16
99.3
GitHub Action Run
6 run-3.14-pre-beartype - 34157530305.6 07 Sep 2026 07:57PM UTC 16
99.3
GitHub Action Run
7 run-3.13 - 34157530305.7 07 Sep 2026 07:57PM UTC 16
98.96
GitHub Action Run
Source Files on build 34157530305
  • Tree
  • List 16
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #34157530305
  • 3c7465ac on github
  • Prev Build on master (#34148156554)
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