Skip to content

Commit

Permalink
Change ring buffer sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
0xaa4eb committed Jul 23, 2024
1 parent e95ef90 commit 7c36d1a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public int instrumented() {

@Fork(jvmArgs = {
"-Dulyp.methods=**.CollectionRecordingBenchmark.doCompute",
"-Dulyp.recording-queue.size=4194304"
"-Dulyp.recording-queue.size=65536"
}, value = BenchmarkConstants.FORKS)
@Benchmark
public int record() {
Expand All @@ -42,7 +42,7 @@ public int record() {

@Fork(jvmArgs = {
"-Dulyp.methods=**.CollectionRecordingBenchmark.doCompute",
"-Dulyp.recording-queue.size=4194304"
"-Dulyp.recording-queue.size=65536"
}, value = BenchmarkConstants.FORKS)
@Benchmark
public int syncRecord(Counters counters) throws InterruptedException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public int instrumented() {

@Fork(jvmArgs = {
"-Dulyp.methods=**.FibonacciNumbersBenchmark.compute",
"-Dulyp.recording-queue.size=4194304"
"-Dulyp.recording-queue.size=65536"
}, value = BenchmarkConstants.FORKS)
@Benchmark
public int record() {
Expand All @@ -49,7 +49,7 @@ public int record() {

@Fork(jvmArgs = {
"-Dulyp.methods=**.FibonacciNumbersBenchmark.compute",
"-Dulyp.recording-queue.size=4194304"
"-Dulyp.recording-queue.size=65536"
}, value = BenchmarkConstants.FORKS)
@Benchmark
public int syncRecord(Counters counters) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public long instrumented() {
"-Dulyp.methods=**.NumbersRecordingBenchmark.doCompute",
"-Dulyp.metrics",
"-Dcom.ulyp.slf4j.simpleLogger.defaultLogLevel=INFO",
"-Dulyp.recording-queue.size=4194304"
"-Dulyp.recording-queue.size=65536"
}, value = BenchmarkConstants.FORKS)
@Benchmark
@OutputTimeUnit(TimeUnit.MICROSECONDS)
Expand All @@ -49,7 +49,7 @@ public long record() {
"-Dulyp.methods=**.NumbersRecordingBenchmark.doCompute",
"-Dulyp.metrics",
"-Dcom.ulyp.slf4j.simpleLogger.defaultLogLevel=OFF",
"-Dulyp.recording-queue.size=4194304"
"-Dulyp.recording-queue.size=65536"
}, value = BenchmarkConstants.FORKS)
@Benchmark
public long syncRecord(Counters counters) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public String instrumented() {

@Fork(jvmArgs = {
"-Dulyp.methods=**.StringsRecordingBenchmark.doCompute",
"-Dulyp.recording-queue.size=4194304"
"-Dulyp.recording-queue.size=65536"
}, value = BenchmarkConstants.FORKS)
@Benchmark
public String record() {
Expand All @@ -44,7 +44,7 @@ public String record() {

@Fork(jvmArgs = {
"-Dulyp.methods=**.StringsRecordingBenchmark.doCompute",
"-Dulyp.recording-queue.size=4194304"
"-Dulyp.recording-queue.size=65536"
}, value = BenchmarkConstants.FORKS)
@Benchmark
public String syncRecord(Counters counters) {
Expand Down

0 comments on commit 7c36d1a

Please sign in to comment.