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

[jvm] Improve NativeOutput performance #11943

Conversation

barisyild
Copy link
Contributor

This commit improves NativeOutput performance

POC

var bytes:Bytes = Bytes.alloc(1024 * 1024 * 100);
socket.output.writeInput(new BytesInput(bytes));

Benchmark Results

Before

JVM: 800-1100 kb per second
C++: 200-300 mb per second

After

JVM: 200-300 mb per second
C++: 200-300 mb per second

@barisyild barisyild changed the title Improve NativeOutput performance [JVM] Improve NativeOutput performance Jan 26, 2025
@barisyild barisyild changed the title [JVM] Improve NativeOutput performance [jvm] Improve NativeOutput performance Jan 26, 2025
@barisyild barisyild closed this Jan 26, 2025
@barisyild barisyild deleted the jvm-fix-output-performance branch January 26, 2025 22:11
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.

1 participant