Skip to content

Instantly share code, notes, and snippets.

@nitsanw
Created April 25, 2013 08:02
Show Gist options
  • Save nitsanw/5458216 to your computer and use it in GitHub Desktop.
Save nitsanw/5458216 to your computer and use it in GitHub Desktop.
JMH CSV output from UTF-8 run
$ java -DUtf8EncodingBenchmark.directBuffer=false -jar target/microbenchmarks.jar -wi 3 -i 3 -of csv ".*Utf8EncodingBenchmark.*"
Benchmark, Iteration, Score, Threads, Unit, Thread 1,
psy.lob.saw.utf8.generated.throughput.Utf8EncodingBenchmark.charsetEncoder, 1, "2.592", 1, ops/msec, "2.592",
psy.lob.saw.utf8.generated.throughput.Utf8EncodingBenchmark.charsetEncoder, 2, "2.509", 1, ops/msec, "2.509",
psy.lob.saw.utf8.generated.throughput.Utf8EncodingBenchmark.charsetEncoder, 3, "2.617", 1, ops/msec, "2.617",
psy.lob.saw.utf8.generated.throughput.Utf8EncodingBenchmark.customEncoder, 1, "4.329", 1, ops/msec, "4.329",
psy.lob.saw.utf8.generated.throughput.Utf8EncodingBenchmark.customEncoder, 2, "4.387", 1, ops/msec, "4.387",
psy.lob.saw.utf8.generated.throughput.Utf8EncodingBenchmark.customEncoder, 3, "4.404", 1, ops/msec, "4.404",
psy.lob.saw.utf8.generated.throughput.Utf8EncodingBenchmark.stringGetBytes, 1, "2.530", 1, ops/msec, "2.530",
psy.lob.saw.utf8.generated.throughput.Utf8EncodingBenchmark.stringGetBytes, 2, "2.373", 1, ops/msec, "2.373",
psy.lob.saw.utf8.generated.throughput.Utf8EncodingBenchmark.stringGetBytes, 3, "2.400", 1, ops/msec, "2.400",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment