Skip to content

Commit c2a1138

Browse files
dfa1claude
andcommitted
test: add 64 MiB (cache-busting) payload to benchmarks
Exercises the DRAM-bandwidth-bound regime past L3, where the zero-copy MemorySegment edge collapses to parity with byte[]/JNI. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent ec322c5 commit c2a1138

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

benchmark/src/main/java/io/github/dfa1/zstdffm/bench/CompressBenchmark.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
@Measurement(iterations = 5)
3636
public class CompressBenchmark {
3737

38-
@Param({"1024", "65536", "1048576"})
38+
@Param({"1024", "65536", "1048576", "67108864"})
3939
private int size;
4040

4141
@Param({"3"})

benchmark/src/main/java/io/github/dfa1/zstdffm/bench/DecompressBenchmark.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
@Measurement(iterations = 5)
3636
public class DecompressBenchmark {
3737

38-
@Param({"1024", "65536", "1048576"})
38+
@Param({"1024", "65536", "1048576", "67108864"})
3939
private int size;
4040

4141
private int originalSize;

0 commit comments

Comments
 (0)