Skip to content

0.1.1

Choose a tag to compare

@mackoj mackoj released this 13 Nov 22:09
· 22 commits to main since this release
4020eeb

Faster parsing of Arazzo's own grammar, with no API or behaviour change and still Swift 6.0+ on Apple platforms and Linux.

Benchmark (p50, Swift 6.4, Apple silicon) 0.1.0 0.1.1
Parse runtime expressions (×12) 12.9 µs 3.1 µs
Parse conditions (×4) 18.8 µs, 201 mallocs 5.0 µs, 51 mallocs
Validate, large description 17.4 ms, 134,870 mallocs 7.8 ms, 61,920 mallocs
Execution order + effective parameters, large 4.9 ms 2.0 ms

Decoding and encoding are unchanged: their time is spent in Yams and swift-jsonpath.

What's Changed

  • Use swift-llm-check 0.4.0's import queries by @mackoj in #11
  • Add benchmarks on package-benchmark by @mackoj in #12
  • Parse expressions, conditions and templates on UTF-8 and scalars, not Characters by @mackoj in #13

Full Changelog: 0.1.0...0.1.1