Package Benchmark Versions Save

Swift benchmark runner with many performance metrics and great CI support

1.23.1

3 weeks ago

1.23.1 (2024-04-25)

Bug Fixes

  • patch: Fix build on old Linux versions (#244) (8520cdd)

1.23.0

3 weeks ago

1.23.0 (2024-04-23)

Adds support for a new metric:.instructions this captures the number of CPU instructions used for executing the benchmark:

image image

This is done using perf_events on Linux and using rusage on macOS.

For benchmarks running in a VM, this metric might not return any data due to lack of access to CPU performance counters.

Features

  • minor: Add logical writes as syscalls for macOS, add instruction count for m… (#243) (54b4695)

1.22.4

2 months ago

1.22.4 (2024-03-13)

Bug Fixes

  • patch: memory unsafe file read on Linux (#234) (e495d16)

1.22.3

2 months ago

1.22.3 (2024-02-29)

Bug Fixes

  • patch: Always surface plugin run errors to CI, fixes #230 (#231) (1957724)

1.22.2

2 months ago

1.22.2 (2024-02-26)

1.22.1

4 months ago

1.22.1 (2024-01-12)

What's Changed

Full Changelog: https://github.com/ordo-one/package-benchmark/compare/1.22.0...1.22.1

1.22.0

4 months ago

1.22.0 (2024-01-11)

For benchmarks that are not completely stable (in e.g. syscall/malloc count) due to use of e.g. async or networking, it is desirable to also be able to specify some leeway for benchmarks even for the absolute checks from thresholds.

This fixes https://github.com/ordo-one/package-benchmark/issues/220

By default the behaviour for absolute thresholds checks are as previously (strict, zero improvements/regressions are allowed), but now it is possible to define both absolute and relative thresholds for the benchmarks (as documented at https://swiftpackageindex.com/ordo-one/package-benchmark/1.21.3/documentation/benchmark/writingbenchmarks)

Features

  • minor: Support thresholds for absolute checks (#223) (3bb4e7d)

1.21.3

4 months ago

1.21.3 (2024-01-10)

What's Changed

New Contributors

Full Changelog: https://github.com/ordo-one/package-benchmark/compare/1.21.2...1.21.3

1.21.2

4 months ago

1.21.2 (2024-01-09)

Bug Fixes

1.21.1

4 months ago

1.21.1 (2024-01-08)

Bug Fixes

  • patch: Fix incorrect public export of Lock (#217) (df284bb)