Giter Club home page Giter Club logo

Comments (3)

heckj avatar heckj commented on August 15, 2024 1

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.

heckj avatar heckj commented on August 15, 2024

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.

hassila avatar hassila commented on August 15, 2024

heckj/CRDT#35

from package-benchmark.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.