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

Experiment with fast json stringify #72

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

DZakh
Copy link
Owner

@DZakh DZakh commented May 11, 2024

No description provided.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: 4fe60bf Previous: 9fb2e69 Ratio
Parse string 836801855 ops/sec (±0.42%) 819064824 ops/sec (±0.11%) 0.98
Serialize string 846581580 ops/sec (±0.50%) 819779932 ops/sec (±0.08%) 0.97
Advanced object schema factory 438542 ops/sec (±0.62%) 431262 ops/sec (±0.44%) 0.98
Parse advanced object 46753768 ops/sec (±0.63%) 46671133 ops/sec (±0.42%) 1.00
Create and parse advanced object 33724 ops/sec (±0.59%) 34129 ops/sec (±0.58%) 1.01
Parse advanced strict object 22355568 ops/sec (±0.16%) 22262984 ops/sec (±0.24%) 1.00
Serialize advanced object 807223444 ops/sec (±0.18%) 807737293 ops/sec (±0.20%) 1.00
Stringify with JSON.stringify 3287943 ops/sec (±0.19%)
Stringify with S.serializeToJsonStringWith 3156623 ops/sec (±0.20%)
Stringify with S.jsonString 11409832 ops/sec (±0.86%)

This comment was automatically generated by workflow using github-action-benchmark.

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.

None yet

1 participant