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

FEniCS / ffcx / 35690721807
86%
main: 88%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/main/pr-930-ffabc3f9f99de167b5982fbc09e05b5df755b6c6
DEFAULT BRANCH: main
Ran 22 Sep 2026 05:32AM 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

22 Sep 2026 05:26AM UTC coverage: 86.489% (+0.01%) from 86.477%
35690721807

push

github

web-flow
jit: re-use a module already imported in this process (#890)

* jit: re-use a module already imported in this process

Every cache hit imported the extension module afresh: a
module_from_spec/exec_module round trip plus several stats, for a module
already mapped into the process. A module name is a signature over the
forms, the options and the compilation flags, so a repeat lookup is by
construction the same generated code.

Memoise the loaded module on (module name, cache directory). The
directory is part of the key so that compiling the same forms into a
second cache still loads from that cache, and only a caller-supplied
cache directory is recorded, so the per-call temporary directory used
when no cache is configured does not accumulate entries.

_load_objects() also located the module with the directory-scanning
finder that get_cached_module() no longer uses; it now shares the same
path-based helper and populates the memo, so the saving lands on the
first repeat rather than the second.

Measured on fem.form() against a 24,196-file cache, interleaved over
three rounds, best of each:

  #887                  0.115 ms
  #887 + this           0.086 ms
  #887 + #888           0.066 ms
  #887 + #888 + this    0.034 ms

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

* jit: compress comments

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

---------

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

14 of 15 new or added lines in 1 file covered. (93.33%)

4718 of 5455 relevant lines covered (86.49%)

0.86 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
86.0
0.36% ffcx/codegeneration/jit.py
Jobs
ID Job ID Ran Files Coverage
1 35690721807.1 22 Sep 2026 05:32AM UTC 59
86.49
GitHub Action Run
Source Files on build 35690721807
  • Tree
  • List 59
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • e52a9f43 on github
  • Prev Build on gh-readonly-queue/main/pr-889-e63d992a13a1358b734a0a79ebb6d89e6909dbf6 (#35660009561)
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