Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-25774

profile build speed of the server code base

    XMLWordPrintable

    Details

      Description

      Changes to the most accessed headers require recompilation of 500 files avg, which takes about 3 mins on 6 cores. The time tends to grow YoY.
      Several of build time improvements may be approached:

      • Header decomposition to improve files affected per line value.
      • Use of precompiled headers
      • Template optimization

      This task is about the headers problem investigation.

      • Take a look how a time changes with precompiled headers enabled.
      • Work out the guidelines on enabling the precompiled headers generation for used system libraries.
      • And/or update build scripts to support precompiled headers generation.
      • If the build will still look too slow, analyze the template usages.

      This tool may be helpful for the header analysis:
      https://github.com/mikael-s-persson/templight

      See also:

        Attachments

          Activity

            People

            Assignee:
            nikitamalyavin Nikita Malyavin
            Reporter:
            nikitamalyavin Nikita Malyavin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.