Comments (3)
Thank you -
The PR (in case anyone else stumbles into the same poor assumption I made) changes the location of the benchmark sources to be stored within a directory named Benchmarks
, and then references them with path:
in the Package.swift so that the compiler can find this specific location. The swift package benchmark
plugin uses the specific location of Benchmarks
to find and run any existing benchmarks.
from package-benchmark.
Oh - I should mention: When I run the executable directly, it does provide some output. .build/release/ExternalBenchmark
reports:
(line breaks manually inserted - otherwise this was insane to view on Github)
Debug result: [
Benchmark.BenchmarkResult(metric: Time (wall clock), timeUnits: ms, measurements: 1, warmupIterations: 3, thresholds: nil, percentiles: [
Benchmark.BenchmarkResult.Percentile.p99: 1230, Benchmark.BenchmarkResult.Percentile.p0: 1230,
Benchmark.BenchmarkResult.Percentile.p100: 1230, Benchmark.BenchmarkResult.Percentile.p90: 1230,
Benchmark.BenchmarkResult.Percentile.p75: 1230, Benchmark.BenchmarkResult.Percentile.p25: 1230,
Benchmark.BenchmarkResult.Percentile.p50: 1230]),
Benchmark.BenchmarkResult(metric: Time (user CPU), timeUnits: ms, measurements: 1, warmupIterations: 3, thresholds: nil, percentiles: [
Benchmark.BenchmarkResult.Percentile.p99: 1228, Benchmark.BenchmarkResult.Percentile.p25: 1228,
Benchmark.BenchmarkResult.Percentile.p75: 1228, Benchmark.BenchmarkResult.Percentile.p100: 1228,
Benchmark.BenchmarkResult.Percentile.p0: 1228, Benchmark.BenchmarkResult.Percentile.p90: 1228,
Benchmark.BenchmarkResult.Percentile.p50: 1228]),
Benchmark.BenchmarkResult(metric: Time (total CPU), timeUnits: ms, measurements: 1, warmupIterations: 3, thresholds: nil, percentiles: [
Benchmark.BenchmarkResult.Percentile.p99: 1231, Benchmark.BenchmarkResult.Percentile.p50: 1231,
Benchmark.BenchmarkResult.Percentile.p75: 1231, Benchmark.BenchmarkResult.Percentile.p90: 1231,
Benchmark.BenchmarkResult.Percentile.p100: 1231, Benchmark.BenchmarkResult.Percentile.p0: 1231,
Benchmark.BenchmarkResult.Percentile.p25: 1231]),
Benchmark.BenchmarkResult(metric: Time (system CPU), timeUnits: μs, measurements: 1, warmupIterations: 3, thresholds: nil, percentiles: [Benchmark.BenchmarkResult.Percentile.p50: 2376, ...])]
from package-benchmark.
from package-benchmark.
Related Issues (20)
- Seven entries per benchmark per metric in influx. HOT 3
- Benchmark plugin swallows error codes from benchmark crashes HOT 3
- Could not build Objective-C module 'JWTKit' HOT 2
- Improved Docs for iOS Projects? HOT 6
- Error enum values not propagated as exit codes for benchmark comparison in CI. HOT 5
- Differing scaling factors across the same benchmark misrepresented in comaprisons. HOT 3
- Can engineers force memory reporting into one consistent scale unit (K or M)? HOT 2
- Any API for specifying `minIterations` on a benchmark? HOT 2
- Incorrect CI PR benchmark comparison HOT 3
- Support for memcpy metrics HOT 5
- Add more stats from proc_pid_rusage
- Can `--format markdown` produce legit markdown tables? HOT 14
- Can I pass additional flags when building benchmark? HOT 17
- Make wall clock time and cpu time spent closer HOT 1
- Perform overhead test run and "clean" measurement data
- Allow passing of state between startup/shutdown code and the actual benchmark inside the closure
- Add examples and documentation for regex
- Measure Swift exclusivity checking overhead HOT 4
- Warning about visionOS HOT 4
- Swift 6 language mode support needed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from package-benchmark.