Skip to content

[Json] Add json reader benchmarks for Map and REE#9616

Open
liamzwbao wants to merge 1 commit intoapache:mainfrom
liamzwbao:issue-9497-json-reader-bench
Open

[Json] Add json reader benchmarks for Map and REE#9616
liamzwbao wants to merge 1 commit intoapache:mainfrom
liamzwbao:issue-9497-json-reader-bench

Conversation

@liamzwbao
Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

What changes are included in this PR?

As part of the effort to move the Json reader away from ArrayData toward typed ArrayRef APIs, it's necessary to change the ArrayDecoder::decode interface to return ArrayRef directly and updates all decoder implementations (list, struct, map, run-end encoded) to construct typed arrays without intermediate ArrayData round-trips. New benchmarks for map and run-end encoded decoding are added to verify there is no performance regression.

Are these changes tested?

Yes

Are there any user-facing changes?

No

@github-actions github-actions bot added the arrow Changes to the arrow crate label Mar 26, 2026
@liamzwbao liamzwbao marked this pull request as ready for review March 26, 2026 01:57
@liamzwbao liamzwbao force-pushed the issue-9497-json-reader-bench branch from 7e1ef19 to 5eae1c2 Compare March 26, 2026 12:26
@liamzwbao liamzwbao force-pushed the issue-9497-json-reader-bench branch from 5eae1c2 to e165d33 Compare March 27, 2026 14:25
Copy link
Copy Markdown
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Looks good to me -- than kyou @liamzwbao

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

arrow Changes to the arrow crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants