google/swift-benchmark
A Swift library for benchmarking code snippets, similar to
Usage
Add this library as a SwiftPM dependency:
let package = Package(
name: ... ,
products: [
.executable(name: "Benchmarks", targets: ["Benchmarks"])
],
dependencies: [
.package(url: "https://github.com/google/swift-benchmark", from: "0.1.0")
],
targets: [
.target(
name: "Benchmarks",
dependencies: [.product(name: "Benchmark", package: "swift-benchmark")]
)
]
)Roadmap
The project is in an early stage and offers only a basic set of benchmarking utilities. Feel free to file issues and feature requests to help us prioritize what to do next.
License
Please see LICENSE for details.
Contributing
Please see [CONTRIBUTING.md] for details.
[CONTRIBUTING.md]: CONTRIBUTING.md
Package Metadata
Repository: google/swift-benchmark
Default branch: main
README: README.md