Skip to content

Conversation

@tejassp-db
Copy link
Collaborator

Description

A JMH benchmark for Arrow parsing of patched and unpatched Arrow Buffers and Buffer allocators.

@Setup(Level.Trial)
public void setup() throws IOException {
// Load files into memory once before all benchmark iterations
arrowChunkBytes = loadFileToMemory(ARROW_CHUNK_PATH);
Copy link
Collaborator

Choose a reason for hiding this comment

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

so is the test data persisted in a local file?

private static final Path ARROW_CHUNK_PATH = Path.of("arrow", "chunk_1.arrow");

/** Path to a LZ4 compressed arrow chunk. */
private static final Path ARROW_CHUNK_COMPRESSED_PATH = Path.of("arrow", "chunk_1.arrow.lz4");
Copy link
Collaborator

Choose a reason for hiding this comment

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

where is this file? will you add in separate PR?

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.

3 participants