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

FEniCS / ffcx / 35657512554
86%
main: 88%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/main/pr-930-ffabc3f9f99de167b5982fbc09e05b5df755b6c6
DEFAULT BRANCH: main
Ran 21 Sep 2026 09:35PM UTC
Jobs 1
Files 59
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

21 Sep 2026 09:29PM UTC coverage: 86.477% (+0.2%) from 86.271%
35657512554

push

github

web-flow
jit: locate cached modules by path, not by scanning the cache directory (#887)

get_cached_module built an importlib FileFinder over the cache directory
and invalidated its cache before every lookup, so each cache hit listed
the whole directory. The cache holds four files per form ever compiled,
so the cost grows without bound as a user accumulates compiled forms:
with 24,196 files it is 9.8 ms per fem.form call against 0.13 ms on a
fresh cache, and the gap is a constant, independent of problem size.

The file name is fully determined by the module name, so probe the
candidate extension suffixes and load with spec_from_file_location
instead. This also removes the need for invalidate_caches(), since the
wait loop re-stats on each iteration and still picks up a module written
by a concurrent process.

Measured against the same 24,196-file cache: 9.81 ms -> 0.13 ms.

Closes #886.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>

12 of 15 new or added lines in 1 file covered. (80.0%)

4713 of 5450 relevant lines covered (86.48%)

0.86 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
85.64
6.07% ffcx/codegeneration/jit.py
Jobs
ID Job ID Ran Files Coverage
1 35657512554.1 21 Sep 2026 09:35PM UTC 59
86.48
GitHub Action Run
Source Files on build 35657512554
  • Tree
  • List 59
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • e63d992a on github
  • Prev Build on gh-readonly-queue/main/pr-888-ce8c9cbfee80df8508268f0961d712f84631c9ff (#35657372936)
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