mirror of
https://github.com/apple/swift-log
synced 2026-11-22 03:40:39 +00:00
Add simple benchmarks measuring instructions count and allocations when logging with various log levels. ### Motivation: Establish the baseline and have automated checks before approaching performance improvements. ### Modifications: - Dependency on https://github.com/ordo-one/package-benchmark added - A new `Benchmarks` sub-package is added - CI workflows now run benchmarks ### Result: - CI workflows are running benchmarks on Linux and macOS - Thresholds are recorded and verified only on macOS An example of a benchmark failing with a **better** results than expected: https://github.com/apple/swift-log/actions/runs/19540944353/job/55950355442 An example of a benchmark failing with a **worse** results than expected: https://github.com/apple/swift-log/actions/runs/19569105729/job/56038101552
9 lines
159 B
Plaintext
9 lines
159 B
Plaintext
.DS_Store
|
|
/.build
|
|
/Packages
|
|
xcuserdata/
|
|
DerivedData/
|
|
.swiftpm/configuration/registries.json
|
|
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
|
|
.netrc
|