Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile speedup #979

Merged
merged 15 commits into from
Feb 21, 2021
Merged

Compile speedup #979

merged 15 commits into from
Feb 21, 2021

Commits on Feb 19, 2021

  1. Configuration menu
    Copy the full SHA
    72794cf View commit details
    Browse the repository at this point in the history
  2. [SCons] Stop using header-only version of fmt library

    While using the fmt library in header-only mode was convenient,
    Cantera uses this library in so many separate source files that using
    it in this mode was noticably increasing overall compilation time.
    speth committed Feb 19, 2021
    Configuration menu
    Copy the full SHA
    17d0fec View commit details
    Browse the repository at this point in the history
  3. Consolidate VCS solver source files

    Code for the VCS_SOLVE class, which was split up among 12 source files,
    is now consolidated into just vcs_solve.cpp and vcs_solve_TP.cpp.
    
    This reduces the amount of time spent compiling the VCS solver by ~50%.
    speth committed Feb 19, 2021
    Configuration menu
    Copy the full SHA
    3babd6b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    07b9d43 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b6bf529 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    486ac3b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8e7252d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    dcbd5de View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    a28d06a View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    20aaf23 View commit details
    Browse the repository at this point in the history
  11. [Thermo] Combine file-based and default constructors

    For classes derived from ThermoPhase, instead of having separate
    constructors for the default constructor and the constructor which
    takes an input file and phase id, we can use the case where both
    arguments are the default (empty string) to construct a phase without
    using an input file. This eliminates the need to repeat any
    initialization that takes place in the constructor.
    speth committed Feb 19, 2021
    Configuration menu
    Copy the full SHA
    5378303 View commit details
    Browse the repository at this point in the history
  12. [CI] Disable debug symbols in most builds

    Keeping debug symbols around results in much larger object files,
    which in turn get copied into the various libraries and test
    executables, and the extra I/O from reading and writing all of these
    larger files slows down the build.
    speth committed Feb 19, 2021
    Configuration menu
    Copy the full SHA
    6384921 View commit details
    Browse the repository at this point in the history
  13. [CI] Speed up coverage build

    Compiling with the NDEBUG macro defined skips assertion checks, such
    as those in standard library code. Skipping these checks allows the
    tests to run slightly faster.
    
    Compiling with a system copy of Sundials speeds up running the test
    suite slightly because the Sundials library being used is still
    compiled with optimizations turned on, as opposed to the code within
    Cantera, that has to be compiled without optimizations so that the
    line coverage will be accurate.
    speth committed Feb 19, 2021
    Configuration menu
    Copy the full SHA
    8e3703c View commit details
    Browse the repository at this point in the history
  14. [CI] Drop Python 3.5 builds

    Python 3.5 reached end of life in September 2020.
    speth committed Feb 19, 2021
    Configuration menu
    Copy the full SHA
    d375bd0 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    f9f2d5d View commit details
    Browse the repository at this point in the history