Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More efficient decoding of case classes which have fields with default values #1287

Merged
merged 1 commit into from
Feb 5, 2025

Conversation

plokhotnyuk
Copy link
Contributor

@plokhotnyuk plokhotnyuk commented Feb 5, 2025

Tested with Scala 3 and JDK-21 on Intel® Core™ i7-11800H:

Before

Benchmark                   Mode  Cnt       Score      Error  Units
OpenRTBReading.zioJson     thrpt    5  154785.259 ± 8176.370  ops/s
TwitterAPIReading.zioJson  thrpt    5   17774.353 ±  372.782  ops/s

After

Benchmark                   Mode  Cnt       Score      Error  Units
OpenRTBReading.zioJson     thrpt    5  180153.071 ± 2194.406  ops/s
TwitterAPIReading.zioJson  thrpt    5   18021.129 ±  564.940  ops/s

@plokhotnyuk plokhotnyuk requested a review from a team as a code owner February 5, 2025 09:23
@plokhotnyuk plokhotnyuk merged commit ef5155d into zio:series/2.x Feb 5, 2025
31 checks passed
@plokhotnyuk plokhotnyuk deleted the update-magnolia-to-1.3.11 branch February 5, 2025 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant