Skip to content
Snippets Groups Projects

[added !932] Feature/generator speed up

Closed Samuel Burbulla requested to merge feature/generator-speed-up into master

I found a way that makes loading modules much faster.

The main point is to not call cmake every time. Especially not for modules, where nothing has to be compiled. (There was up to half a second overhead for each module loaded.)

I get a speedup for a simple Laplace problem from 17.6s to 1.5s total runtime.

Added also a .noconfigure file after the first configuration run, which alone reduces around 14s of the startup time.

Remark: This .noconfigure has to be removed for reconfiguration of dune-py - we discussed this in the context of removing the CMakeCache.txt. This is open and must be performed somehow by pip.

Edited by Andreas Dedner

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading