Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
D
dune-common
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 70
    • Issues 70
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 51
    • Merge Requests 51
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Package Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Core Modules
  • dune-common
  • Merge Requests
  • !909

Open
Opened Dec 22, 2020 by Samuel Burbulla@samuel.burbullaDeveloper
  • Report abuse
Report abuse

[added !932] Feature/generator speed up

  • Overview 22
  • Commits 7
  • Pipelines 10
  • Changes 6

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 Feb 13, 2021 by Andreas Dedner
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: core/dune-common!909
Source branch: feature/generator-speed-up