Skip to content

perf(javascript): add javascript benchmark#3562

Open
chaokunyang wants to merge 9 commits intoapache:mainfrom
chaokunyang:add_javascript_benchmarks
Open

perf(javascript): add javascript benchmark#3562
chaokunyang wants to merge 9 commits intoapache:mainfrom
chaokunyang:add_javascript_benchmarks

Conversation

@chaokunyang
Copy link
Copy Markdown
Collaborator

@chaokunyang chaokunyang commented Apr 14, 2026

Why?

What does this PR do?

  • add javascript benchmarks
  • align benchmark data model config

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 of the final clean AI review results from both fresh reviewers 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

@chaokunyang chaokunyang force-pushed the add_javascript_benchmarks branch from fd813b6 to 1659187 Compare April 14, 2026 04:24
@chaokunyang chaokunyang force-pushed the add_javascript_benchmarks branch from b07c707 to b197a3f Compare April 14, 2026 07:36
…der reset

- Add TypeId.isLeafTypeId() for primitives, string, enum, time, typed arrays
- Skip incReadDepth/decReadDepth for leaf fields in struct, collection, map codegen
- Reuse DataView in BinaryReader.reset() when underlying buffer is unchanged
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