Swiftpack.co - Swift Packages by ordo-one

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.

Packages published by ordo-one

ordo-one/package-benchmark 1.11.2
Swift benchmark runner with many performance metrics and great CI support
⭐️ 84
πŸ•“ 6 days ago
πŸ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
1.11.2
1 week ago
## [1.11.2](https://github.com/ordo-one/package-benchmark/compare/1.11.1...1.11.2) (2023-09-22)
1.11.1
2 weeks ago
## [1.11.1](https://github.com/ordo-one/package-benchmark/compare/1.11.0...1.11.1) (2023-09-14) ### Bug Fixes * **patch:** Show exact deviations if rounded are zero ([#188](https://github.com/ordo-one/package-benchmark/issues/188)) ([6e0cdf8](https://github.com/ordo-one/package-benchmark/commit/6e0cdf8c310a873a9a688c41eedfaf75c2752077))
1.11.0
2 weeks ago
## [1.11.0](https://github.com/ordo-one/package-benchmark/compare/1.9.2...1.11.0) (2023-09-14) ### Features Its desirable to be able to signal from CI if a threshold has been improved too and not only regressed, so we now return exit code 0 only for exact equal checks and 2 for regressions and 4 for improvements for baseline checks and absolute threshold comparisons. Added support for signposts (https://github.com/ordo-one/package-benchmark/issues/183) which makes profiling from Instruments easier to analyze. The easiest way to access Instruments and profile a benchmark, is to simply quit Xcode and open the package with: `open --env BENCHMARK_DISABLE_JEMALLOC=1 Package.swift` This works around the Xcode bug that makes it impossible to use jemalloc and one can simply build for Profile and use instruments as usual - now with signpost information per benchmark run: ![](https://user-images.githubusercontent.com/8501048/266787840-aab42385-65a2-4617-970b-b777ebb6ed00.png) Added new `objectAllocCount` ARC stat counter and fixed the delta calculation to also take this initial refcount into account so retain/release deltas should be closer to reality (still sometimes non-zero due to some missing runtime hooks). Also added support for optionally returning setupState from the benchmark setup hooks, to allow access to state that can be reused per benchmark iteration which is provided as an additional second parameter to the benchmark closure. This can easily be done like this: ```swift Benchmark("SetupTeardown6") { benchmark, setupState in print("Array of integers: \(setupState)") } setup: { [1, 2, 3] } ``` ### Bug Fixes * **minor:** Add support for CI detection of absolute threshold improvements + signposts for Instruments ([#182](https://github.com/ordo-one/package-benchmark/issues/182)) ([1e3568b](https://github.com/ordo-one/package-benchmark/commit/1e3568bbb4c3fd1da308a750e169a74b12b3f531)) * **minor:** Fix incorrect syscalls ([#187](https://github.com/ordo-one/package-benchmark/issues/187)) ([8e6ffd9](https://github.com/ordo-one/package-benchmark/commit/8e6ffd99562b8aa149c34e510dfebdf9a9030d2b))
1.9.2
2 weeks ago
## [1.9.2](https://github.com/ordo-one/package-benchmark/compare/1.9.1...1.9.2) (2023-09-13) ### Bug Fixes * **patch:** quote test names with comma in output CSV ([#185](https://github.com/ordo-one/package-benchmark/issues/185)) ([d7a1343](https://github.com/ordo-one/package-benchmark/commit/d7a1343d463cefd079ea4558a19a7c93c0bbec37))
1.9.1
3 weeks ago
## What's Changed * feat(patch): support bytesRead/bytesWritten on macOS by @dimlio in https://github.com/ordo-one/package-benchmark/pull/181 **Full Changelog**: https://github.com/ordo-one/package-benchmark/compare/1.9.0...1.9.1
1.9.0
5 weeks ago
## [1.9.0](https://github.com/ordo-one/package-benchmark/compare/1.8.2...1.9.0) (2023-08-24) This provides better out-of-the-box experience for absolute checks and is geared towards CI checking of e.g. malloc/syscall deviations. The thresholds can e.g. be put be in a "Thresholds" directory. To generate a new baseline, run e.g. ```bash swift package --allow-writing-to-package-directory benchmark --format metricP90AbsoluteThresholds --path Thresholds/ ``` To run a check vs. the saved thresholds, run: ```bash swift package benchmark baseline check --check-absolute-path /relative/or/absolute/path/to/Thresholds ``` ### Features * **minor:** Add support for metricP90AbsoluteThresholds export format ([#180](https://github.com/ordo-one/package-benchmark/issues/180)) ([3549c2b](https://github.com/ordo-one/package-benchmark/commit/3549c2b9d4ab2be0f57f522339fe622e8ae9e5d8))
1.8.2
5 weeks ago
## [1.8.2](https://github.com/ordo-one/package-benchmark/compare/1.8.1...1.8.2) (2023-08-22) ### Bug Fixes * **patch:** Use @_optimize(none) instead of [@inline](https://github.com/inline)(never) for blackHole to ensure it's not broken by cross-module optimisation in Swift 5.8 ([#179](https://github.com/ordo-one/package-benchmark/issues/179)) ([82cd144](https://github.com/ordo-one/package-benchmark/commit/82cd144c4159f74177a434fb943c06a59ffe1eeb))
1.8.1
6 weeks ago
## [1.8.1](https://github.com/ordo-one/package-benchmark/compare/1.8.0...1.8.1) (2023-08-16) ### Bug Fixes * **patch:** Sort benchmarks in lexical order so that run order is consistent with output order ([#177](https://github.com/ordo-one/package-benchmark/issues/177)) ([8cc2be5](https://github.com/ordo-one/package-benchmark/commit/8cc2be5e4d0c91feea6d41ba20c05ee1a053d456))
1.8.0
6 weeks ago
## [1.8.0](https://github.com/ordo-one/package-benchmark/compare/1.7.0...1.8.0) (2023-08-16) Improved ergonomics for choosing metrics slightly, now it's possible to write e.g. ```swift let metrics = [.wallClock, .throughput] + .memory + .arc ``` instead of ```swift let metrics = [.wallClock, .throughput] + BenchmarkMetric.memory + BenchmarkMetric.arc ``` ### Features * **minor:** Improve metric api ergonomics ([#175](https://github.com/ordo-one/package-benchmark/issues/175)) ([#176](https://github.com/ordo-one/package-benchmark/issues/176)) ([b0f6d12](https://github.com/ordo-one/package-benchmark/commit/b0f6d12345ea535112fb5dd06d81c9e727409cf1))
1.7.0
11 weeks ago
## [1.7.0](https://github.com/ordo-one/package-benchmark/compare/1.6.5...1.7.0) (2023-07-11) ### Features * **minor:** Errors thrown no longer fail entire benchmark process ([#166](https://github.com/ordo-one/package-benchmark/issues/166)) ([9e010e2](https://github.com/ordo-one/package-benchmark/commit/9e010e286ac7f0f268d8c89a338ba6b0ecab0244))
iOS macOS linux
ordo-one/package-frostflake 3.2.0
High performance unique ID generator inspired by Snowflake
⭐️ 13
πŸ•“ 4 weeks ago
πŸ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
3.2.0
4 weeks ago
## [3.2.0](https://github.com/ordo-one/package-frostflake/compare/3.1.4...3.2.0) (2023-08-25)
3.1.4
11 weeks ago
## [3.1.4](https://github.com/ordo-one/package-frostflake/compare/3.1.3...3.1.4) (2023-07-13) ### Features * **patch:** [sc-2577] switching to local repositories ([#59](https://github.com/ordo-one/package-frostflake/issues/59)) ([59f91ec](https://github.com/ordo-one/package-frostflake/commit/59f91ec7c77fdf02fc29232173b85b328f28c34d))
3.1.3
12 weeks ago
## [3.1.3](https://github.com/ordo-one/package-frostflake/compare/3.1.2...3.1.3) (2023-07-05)
3.1.1
12 weeks ago
## [3.1.1](https://github.com/ordo-one/package-frostflake/compare/3.1.0...3.1.1) (2023-07-03)
3.1.0
19 weeks ago
## [3.1.0](https://github.com/ordo-one/package-frostflake/compare/3.0.0...3.1.0) (2023-05-17) ### Features * **minor:** Add support for more convenient FrostflakeIdentifier() init ([#52](https://github.com/ordo-one/package-frostflake/issues/52)) ([dcbf31a](https://github.com/ordo-one/package-frostflake/commit/dcbf31aba0e96d6d4b1b574a9ff8eb01753b47a0))
3.0.0
28 weeks ago
## [3.0.0](https://github.com/ordo-one/package-frostflake/compare/2.0.3...3.0.0) (2023-03-15)
2.0.3
32 weeks ago
## What's Changed * fix: Fix debug output by @hassila in https://github.com/ordo-one/package-frostflake/pull/43 **Full Changelog**: https://github.com/ordo-one/package-frostflake/compare/2.0.2...2.0.3
45 weeks ago
45 weeks ago
iOS macOS
ordo-one/package-concurrency-helpers 2.1.0
Various tools needed for concurrency (locks, async stream helpers, ...)
⭐️ 4
πŸ•“ 4 weeks ago
πŸ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
2.1.0
4 weeks ago
## What's Changed * feat(patch): [sc-3285] Add makeStream() by @axelandersson in https://github.com/ordo-one/package-concurrency-helpers/pull/57 * fix: check for task cancellation in yieldWithBackPressure() by @dimlio in https://github.com/ordo-one/package-concurrency-helpers/pull/54 **Full Changelog**: https://github.com/ordo-one/package-concurrency-helpers/compare/2.0.0...2.1.0
2.0.0
4 weeks ago
## [2.0.0](https://github.com/ordo-one/package-concurrency-helpers/compare/1.0.5...2.0.0) (2023-08-25) ### Features * **major:** [sc-961] rename ConcurrencyHelpers -> PackageConcurrency… ([#56](https://github.com/ordo-one/package-concurrency-helpers/issues/56)) ([4e6c808](https://github.com/ordo-one/package-concurrency-helpers/commit/4e6c80852db691787dd40ae93081d34bb3d47f9b))
1.0.5
5 weeks ago
## [1.0.5](https://github.com/ordo-one/package-concurrency-helpers/compare/1.0.4...1.0.5) (2023-08-24) ### Features * **patch:** [sc-2567] Add isBeingDebugged ([#55](https://github.com/ordo-one/package-concurrency-helpers/issues/55)) ([b747f19](https://github.com/ordo-one/package-concurrency-helpers/commit/b747f199fcadc1ff1f338c5fa5da1e0b91559a13))
1.0.4
6 weeks ago
## [1.0.4](https://github.com/ordo-one/package-concurrency-helpers/compare/1.0.3...1.0.4) (2023-08-14) ### Features * **patch:** Add nearestPowerOf2() function. ([#53](https://github.com/ordo-one/package-concurrency-helpers/issues/53)) ([13ca1ef](https://github.com/ordo-one/package-concurrency-helpers/commit/13ca1ef3adcc1b2a243d08c01629249b667ca93d))
1.0.3
7 weeks ago
## [1.0.3](https://github.com/ordo-one/package-concurrency-helpers/compare/1.0.2...1.0.3) (2023-08-08) ### Features * **patch:** [sc-2921] use default parameter rather than always global queue ([#52](https://github.com/ordo-one/package-concurrency-helpers/issues/52)) ([c62f425](https://github.com/ordo-one/package-concurrency-helpers/commit/c62f4257f71d0625210d0d122dbf8b8774180aa8))
1.0.2
11 weeks ago
## [1.0.2](https://github.com/ordo-one/package-concurrency-helpers/compare/1.0.1...1.0.2) (2023-07-13) ### Features * **patch:** switching to local repositories ([#51](https://github.com/ordo-one/package-concurrency-helpers/issues/51)) ([7c49d3a](https://github.com/ordo-one/package-concurrency-helpers/commit/7c49d3a357c1e3b5a55d1e65b4d65b7f36f70678))
1.0.1
12 weeks ago
## [1.0.1](https://github.com/ordo-one/package-concurrency-helpers/compare/1.0.0...1.0.1) (2023-07-03)
1.0.0
17 weeks ago
## [1.0.0](https://github.com/ordo-one/package-concurrency-helpers/compare/0.4.0...1.0.0) (2023-05-29)
0.4.1
17 weeks ago
- Deprecate unsafe `DictionaryWithLock` struct.
0.4.0
18 weeks ago
## [0.4.0](https://github.com/ordo-one/package-concurrency-helpers/compare/0.3.0...0.4.0) (2023-05-23) ### Features * **minor:** be able to specify priority of the task used in runSync() ([#47](https://github.com/ordo-one/package-concurrency-helpers/issues/47)) ([8bae916](https://github.com/ordo-one/package-concurrency-helpers/commit/8bae9165b69d96b8af241448e7869f4c318b83f0))
iOS macOS
ordo-one/package-latency-tools 1.0.0
Simple latency tools for benchmarking
⭐️ 1
πŸ•“ 29 weeks ago
πŸ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
1.0.0
29 weeks ago
## 1.0.0 (2023-03-03)
Initial versioned tag
1 year ago
macOS
ordo-one/package-jemalloc 1.0.0
A Swift module map for the jemalloc memory allocator
⭐️ 0
πŸ•“ 1 year ago
πŸ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
Initial release
1 year ago
ordo-one/package-histogram 0.1.2
Swift port of HdrHistogram
⭐️ 0
πŸ•“ 26 weeks ago
iOS macOS watchOS tvOS
ordo-one/package-datetime 1.0.2
Datetime and clock constructs used
⭐️ 0
πŸ•“ 11 weeks ago
πŸ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
1.0.2
11 weeks ago
1.0.1
12 weeks ago
## [1.0.1](https://github.com/ordo-one/package-datetime/compare/1.0.0...1.0.1) (2023-07-03)
1.0.0
28 weeks ago
## [1.0.0](https://github.com/ordo-one/package-datetime/compare/0.0.6...1.0.0) (2023-03-16)
0.0.6
32 weeks ago
## What's Changed * feat: [sc-1098] Human readable description of InternalUTCClock.Instant by @hassila in https://github.com/ordo-one/package-datetime/pull/9 **Full Changelog**: https://github.com/ordo-one/package-datetime/compare/0.0.5...0.0.6
0.0.4
34 weeks ago
## What's Changed * ci: πŸ”„ Synced file(s) with ordo-one/public-repository-templates by @ordo-ci in https://github.com/ordo-one/package-datetime/pull/5 * fix: [sc-1033] Remove circular dependency on Benchmark by @hassila in https://github.com/ordo-one/package-datetime/pull/7 **Full Changelog**: https://github.com/ordo-one/package-datetime/compare/0.0.3...0.0.4
0.0.3
43 weeks ago
## What's Changed * feat: [sc-858]: Move Benchmark to DateTime package by @hassila in https://github.com/ordo-one/package-datetime/pull/4 **Full Changelog**: https://github.com/ordo-one/package-datetime/compare/0.0.2...0.0.3
43 weeks ago
45 weeks ago
iOS macOS

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics