Skip to content

Releases: ordo-one/package-benchmark

1.29.6

03 Nov 07:46
5dcae6e

Choose a tag to compare

1.29.6 (2025-11-03)

Bug Fixes

  • patch: Benchmark check pass custom thresholds (#337) (5dcae6e)

1.29.5

23 Oct 07:01
4cad6ee

Choose a tag to compare

1.29.5 (2025-10-23)

Bug Fixes

  • patch: avoid re-building when comparing two baseline results (#335) (4cad6ee)

1.29.4

26 Aug 09:44
6b8c88f

Choose a tag to compare

1.29.4 (2025-08-26)

Bug Fixes

  • patch: Fix occasionally incorrect unit in some tables [2/4] (#329) (6b8c88f), closes #277
  • Run swift-format [1/4] (#328) (5c3a2ee)

1.29.3

03 May 06:36
5c4569a

Choose a tag to compare

1.29.3 (2025-05-03)

Features

  • add percentile column to influx format (#319) (3db567f)

Bug Fixes

  • patch: Rename 'Shared' target to 'BenchmarkShared' (#324) (5c4569a)

1.29.2

19 Feb 11:55
ec06262

Choose a tag to compare

1.29.2 (2025-02-19)

Features

  • patch: Update documentation - add Vapor CI workflows and examples (#315) (ec06262)

1.29.1

19 Feb 11:45
bfed2db

Choose a tag to compare

1.29.1 (2025-02-19)

Features

  • patch: Add output suppressor when running with --no-progress (#314) (bfed2db)

1.29.0

14 Feb 12:28
8daf174

Choose a tag to compare

1.29.0 (2025-02-14)

Bug Fixes

  • minor: Make setup/teardown hooks usable in Swift 6 mode (#312) (8daf174)

1.28.0

11 Feb 12:53
2bb8a39

Choose a tag to compare

1.28.0 (2025-02-11)

Features

Swift 6 benchmark targets should now be possible with:

let benchmarks: @Sendable () -> Void = {
...
}

Make it possible to specify output units for the text output for a given metric by specifying it in the configuration.

E.g.

    Benchmark.defaultConfiguration.units = [.peakMemoryResident: .mega, .peakMemoryVirtual: .giga]

Also add the ability to override the time units from the command line using --time-units.

E.g.

swift package benchmark --time-units microseconds

This update also displays overflowing numeric values in scientific notation in the text output:

╒═══════════════════════════════════════════════════════════════════════════╤═══════════╤═══════════╤═══════════╤═══════════╤═══════════╤═══════════╤═══════════╤═══════════╕
│ Test                                                                      │        p0 │       p25 │       p50 │       p75 │       p90 │       p99 │      p100 │   Samples │
╞═══════════════════════════════════════════════════════════════════════════╪═══════════╪═══════════╪═══════════╪═══════════╪═══════════╪═══════════╪═══════════╪═══════════╡
│ Samples:All metrics, full concurrency, async (ns) *                       │  8.08e+07 │  8.34e+07 │  8.38e+07 │  8.40e+07 │  8.41e+07 │  8.46e+07 │  8.49e+07 │       183 │
├───────────────────────────────────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┼───────────┼───────────┼───────────┤
│ Samples:Counter, custom metric thresholds (ns) *                          │      2375 │      2417 │      2417 │      2459 │      2501 │      2709 │      4334 │      4753 │
├───────────────────────────────────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┼───────────┼───────────┼───────────┤
│ Samples:Extended + custom metrics (ns) *                                  │      1875 │      2000 │      2000 │      2041 │      2167 │      2667 │      8750 │       707 │
├───────────────────────────────────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┼───────────┼───────────┼───────────┤
│ Samples:Extended metrics (ns) *                                           │      1750 │      1875 │      1875 │      1917 │      1958 │      2209 │      3250 │       705 │
╘═══════════════════════════════════════════════════════════════════════════╧═══════════╧═══════════╧═══════════╧═══════════╧═══════════╧═══════════╧═══════════╧═══════════╛

1.27.4

05 Dec 12:23
51fffb6

Choose a tag to compare

1.27.4 (2024-12-05)

Bug Fixes

  • patch: Use String(reflecting: error) for printing errors (#290) (51fffb6)

Trigger doc rebuild

17 Oct 03:56
d490969

Choose a tag to compare

1.27.3

chore: Update .spi.yml (#292)