Repository navigation
perf(bench): JavaVsJniWriteBenchmark at cascade depth 0-3 (#477); README: Vorticity - #481
Merged
Merged
Conversation
- javaWrite takes the cascade depth as a @PARAM (0-3) on its own state, so jniWrite still runs once; it prints the file size per depth. The duplicate javaWriteCascading and its meaningless size ratio are gone. - jniWrite keeps converting each batch to Arrow inside the measured loop: vortex-jni accepts only Arrow batches and documents no faster path, so that cost is what a Java caller pays. The benchmark and docs now say so instead of leaving it implicit. 5 forks: vortex-java 0.951 (depth 3) vs vortex-jni 0.843 ops/s (1.13x); Rust's encoder alone, Arrow built outside the loop, is 1.094 ops/s. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015R8cf8YM8XFQqrkyhSAtYr
Also refresh the encodings line: DType::Union is read since #442, so all 38 encodings are read, 35 written (union, parquet.variant and zstd_buffers are read-only). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015R8cf8YM8XFQqrkyhSAtYr
dfa1
force-pushed
the
perf/477-write-benchmark
branch
from
October 9, 2026 11:30
33c40af to
1324cc7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two commits:
javaWritetakes cascade depth 0–3 as a@Param(own state, sojniWriteruns once) and prints size per depth; duplicatejavaWriteCascadingremoved.jniWritekeeps the Arrow conversion in the loop (vortex-jni accepts only Arrow and documents no faster path), now stated in the benchmark and docs.5 forks:
Closes #477
🤖 Generated with Claude Code
https://claude.ai/code/session_015R8cf8YM8XFQqrkyhSAtYr