Changelog History
-
v2.6.0 Changes
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 Changes
June 09, 2019This 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 Changes
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 Changes
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 Changes
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'sref_ptr
.
-
v2.1.1 Changes
February 03, 2018โก๏ธ Minor code updates and cleanup.
-
v2.1.0 Changes
October 05, 2017โก๏ธ Updated for CPPCon 2017.
-
v2.0.7 Changes
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 Changes
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 Changes
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 and0
iterations produced30
samples and4194304
iterations when it runs. This is based on making numerous measurements before actually running the experiment to determine reasonable values for these two numbers.