Releases: DigitalInBlue/Celero
v2.6.0
- 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
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
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
- 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
- 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
Minor code updates and cleanup.
v2.1.0
Updated for CPPCon 2017.
v2.0.7
This release adds two new experiments from Bartek. (http://www.bfilipek.com/2017/04/packing-bools.html)
The documentation was updated.
Celero v2.0.6
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.
Celero v2.0.5
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.