Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • CMake CMake
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 4,157
    • Issues 4,157
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 14
    • Merge requests 14
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • CMakeCMake
  • CMakeCMake
  • Merge requests
  • !3611

Unity (Jumbo) build

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Cristian Adam requested to merge cristianadam/cmake:unity-build into master Jul 26, 2019
  • Overview 167
  • Commits 4
  • Pipelines 36
  • Changes 50

Generators supported:

  • Ninja
  • Makefiles
  • Visual Studio
  • XCode

Tested on Windows 10 with the SpeedCrunch project (only main executable, not the tests) with a batch size of 5 files. For each case I tested three times.

With MinGW 8.1 the median compilation time went from 25.215s to 17.495s. That's a 30.61% speed increase. With Visual C++ 2017 the median compilation time went from 23.526s to 12.097s. That's a 48.52% speed increase.

Fixes #19526 (closed).

Edited Jul 30, 2019 by Cristian Adam
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: unity-build