All Versions
10
Latest Version
Avg Release Cycle
144 days
Latest Release
505 days ago

Changelog History

  • v2.6.0

    October 18, 2019
    • ๐Ÿš€ This release improves the automated testing and fixes associated bugs.
    • Experiments and Demos were renamed.
    • CMake modernization
    • โœ… Google Test was added as a submodule.
  • v2.5.0

    June 09, 2019

    This wraps up several minor changes

    • โœ… Testing on Visual Studio 2019
    • ๐Ÿ’ป Celero now reports the total time to run on the command line.
    • Automatic computation of the required number of iterations has been improved.
    • โž• Added a FindCelero.cmake for easier integration into other projects.
    • ๐Ÿ‘Œ Improved Markdown console output.
    • โž• Added a CMake option to allow command-line changes of the location of the GoogleTest repository.
    • โž• Added automated testing for GCC v8, LLVM v7, and XCode 10.1
  • v2.4.0

    October 27, 2018

    ๐Ÿš€ This release adds "User Defined Measurements" to the library. This was a great contribution that comes with new example code and an updated README.md.

  • v2.3.0

    July 02, 2018
    • ๐Ÿ‘ CMake exports are improved (it is better integrated into CMake's ecosystem).
    • Console output is formatted as a Markdown table for easy copy/paste into reports.
    • Notifies the user when executing in Debug mode (because the results would not be valid measurements).
    • ๐Ÿ“š Minor documentation updates.
    • โšก๏ธ Reduced the overhead of "DoNotOptimizeAway".
    • โœ… Greatly improved Google Test integration.
    • ๐Ÿ‘Œ Improved the random number generation.
    • โšก๏ธ Updates for GCC/Linux.
    • โœ… Not tested on Mac.
  • v2.2.0

    March 11, 2018
    • ๐Ÿ‘Œ Improved CMake integration.
    • Console table is now formatted as Markdown.
    • ๐Ÿšš CPU throttle controls have been removed.
    • Added an example of shared_ptr measurements which includes OpenScenGraph's ref_ptr.
  • v2.1.1

    February 03, 2018

    โšก๏ธ Minor code updates and cleanup.

  • v2.1.0

    October 05, 2017

    โšก๏ธ Updated for CPPCon 2017.

  • v2.0.7

    May 28, 2017

    ๐Ÿš€ This release adds two new experiments from Bartek. (http://www.bfilipek.com/2017/04/packing-bools.html)
    ๐Ÿ“š The documentation was updated.

  • v2.0.6

    February 27, 2017

    ๐Ÿ“š This release introduces exception catching and has a few minor updates to the documentation.

    • ๐Ÿ“š The documentation was updated.
    • Clang Format was applied to all source code files.
    • ๐Ÿ‘ป Exception handling was added. Enable via the command line "--catchExceptions" option.
    • Failure handling was added to archives.
      *Minor bugs in the statistics were resolved.
  • v2.0.5

    March 28, 2016

    ๐Ÿš€ This release re-adds the code to automatically compute some reasonable iteration count and sample size.

    ๐Ÿ“š The documentation was updated for this as well. In short, simply set your sample size to zero and Celero will attempt to do your job for you.

    BENCHMARK(DemoSimple, Complex1, 0, 0) { celero::DoNotOptimizeAway(static\_cast\<float\>(sin(fmod(UniformDistribution(RandomDevice), 3.14159265)))); }
    

    Will produce something like:

    -----------------------------------------------------------------------------------------------------------------------------------------------
         Group | Experiment | Prob. Space | Samples | Iterations | Baseline | us/Iteration | Iterations/sec |
    -----------------------------------------------------------------------------------------------------------------------------------------------
    DemoSimple | Complex1 | Null | 30 | 4194304 | 1.00535 | 0.20928 | 4778189.16 |
    

    ๐Ÿ‘€ You can see that the specification of 0 samples and 0 iterations produced 30 samples and 4194304 iterations when it runs. This is based on making numerous measurements before actually running the experiment to determine reasonable values for these two numbers.