Releases: DbugXtra/PerfLite
Releases · DbugXtra/PerfLite
Release list
v0.1.1
v0.1.1 - 2026-01-31
- to_unit() now returns double-precision converted values and preserves fractional precision (prevents integer truncation of sub-unit times).
- Durations are recorded as
std::chrono::duration<double, std::nano>to preserve fractional-nanosecond precision. - Fixed local variable shadowing in
Benchmark::runby renaming temporary timing/result variables. - Added deterministic unit tests for
to_unitandBenchmarkResult::calculate_statistics. - Added edge-case tests: empty lambda, death tests for zero warmup/iterations, exception propagation, and time-unit ordering.
test/CMakeLists.txtnow fetches GoogleTest automatically if not present; tests are split into two targets:perf_lite_unit_tests(fast deterministic tests) — labeledfastfor CIperf_lite_benchmarks(benchmark-style timing tests) — labeledbenchmark
- Added GitHub Actions workflow
.github/workflows/ci-fast-tests.ymlto run only thefastlabeled tests in CI.