tayloraswift / swift-json

high-performance json parsing and encoding for server applications
https://swiftinit.org/docs/swift-json
Apache License 2.0
75 stars 5 forks source link

GeneralDecoding.swift performance regression #43

Closed tayloraswift closed 1 year ago

tayloraswift commented 1 year ago

benchmarks CI caught a major performance regression with commit 59d34c5f8c337b068d07ad5b0e4caa2fd0b8176e

before:

 [15/16] Linking benchmark
Build complete! (50.69s)
swift-json: decoded 38295 messages
foundation: decoded 38295 messages
swift-json decoding time: 0.497709959 seconds
foundation decoding time: 4.90599839 seconds

after:

[15/16] Linking benchmark
Build complete! (45.21s)
swift-json: decoded 38295 messages
foundation: decoded 38295 messages
swift-json decoding time: 3.21054002 seconds
foundation decoding time: 4.539217732 seconds
tayloraswift commented 1 year ago

link #33