Skip to content

docs(java): publish JSON benchmark results - #3895

Merged
chaokunyang merged 3 commits into
apache:mainfrom
chaokunyang:add_json_benchmark_report
Jul 28, 2026
Merged

docs(java): publish JSON benchmark results#3895
chaokunyang merged 3 commits into
apache:mainfrom
chaokunyang:add_json_benchmark_report

Conversation

@chaokunyang

@chaokunyang chaokunyang commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator

Why?

What does this PR do?

publish JSON benchmark results:

Representation Operation fory-json ops/sec jackson ops/sec gson ops/sec Fastest
String Serialize 7,387,465 2,049,368 1,084,042 fory-json
String Deserialize 2,897,955 1,074,885 902,772 fory-json
UTF-8 bytes Serialize 10,375,498 1,868,614 1,037,211 fory-json
UTF-8 bytes Deserialize 3,077,158 1,268,397 933,079 fory-json
image

Related issues

AI Contribution Checklist

  • Substantial AI assistance was used in this PR: yes / no
  • If yes, I included a completed AI Contribution Checklist in this PR description and the required AI Usage Disclosure.
  • If yes, my PR description includes the required ai_review summary and screenshot evidence or equivalent persisted links of the final clean AI review results from both fresh reviewers described in AI_POLICY.md, the Fory-guided reviewer and the independent general reviewer, on the current PR diff or current HEAD after the latest code changes.

Does this PR introduce any user-facing change?

  • Does this PR introduce any public API change?
  • Does this PR introduce any binary protocol compatibility change?

Benchmark

@ayush00git

Copy link
Copy Markdown
Contributor

ngl the benchmarks are way too impressive, I didn't read much of the code, could you point me to the specific design of fory-json ?

@chaokunyang

Copy link
Copy Markdown
Collaborator Author

ngl the benchmarks are way too impressive, I didn't read much of the code, could you point me to the specific design of fory-json ?

It's optimized by efficient json parse algorithm, minimal object allocation, codegen without reflection and jvm C2 compilation optimization.

@chaokunyang
chaokunyang merged commit 1adfe98 into apache:main Jul 28, 2026
63 checks passed
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.

2 participants