This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"jmhVersion" : "1.29", | |
"benchmark" : "si.pele.jmh.ReflectionSpeedBenchmark.instanceFieldConst", | |
"mode" : "avgt", | |
"threads" : 1, | |
"forks" : 1, | |
"jvm" : "/home/peter/work/git/jdk/build/linux-x86_64-server-release/images/jdk/bin/java", | |
"jvmArgs" : [ | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"jmhVersion" : "1.29", | |
"benchmark" : "si.pele.jmh.ReflectionSpeedBenchmark.instanceFieldConst", | |
"mode" : "avgt", | |
"threads" : 1, | |
"forks" : 1, | |
"jvm" : "/usr/lib/jvm/java-16-openjdk-16.0.2.0.7-1.rolling.fc33.x86_64/bin/java", | |
"jvmArgs" : [ | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package security; | |
import static java.lang.invoke.MethodType.methodType; | |
import java.lang.invoke.MethodHandle; | |
import java.lang.invoke.MethodHandles; | |
import java.lang.reflect.UndeclaredThrowableException; | |
import java.security.AccessController; | |
import java.security.PrivilegedAction; | |
import java.util.Objects; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"jmhVersion" : "1.29", | |
"benchmark" : "si.pele.jmh.StringJoinerBenchmark.join", | |
"mode" : "avgt", | |
"threads" : 1, | |
"forks" : 1, | |
"jvm" : "/home/peter/work/local/jmh-benchmark/jdk.base/bin/java", | |
"jvmArgs" : [ | |
"-Xms1g", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"jmhVersion" : "1.29", | |
"benchmark" : "si.pele.jmh.StringJoinerBenchmark.stringJoiner", | |
"mode" : "avgt", | |
"threads" : 1, | |
"forks" : 1, | |
"jvm" : "/home/peter/work/git/jdk/build/linux-x86_64-server-release/images/jdk/bin/java", | |
"jvmArgs" : [ | |
"-Xms1g", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"jmhVersion" : "1.29", | |
"benchmark" : "si.pele.jmh.StringJoinBench.join", | |
"mode" : "thrpt", | |
"threads" : 1, | |
"forks" : 1, | |
"jvm" : "/home/peter/work/git/jdk/build/linux-x86_64-server-release/images/jdk/bin/java", | |
"jvmArgs" : [ | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package si.pele.jmh; | |
/* | |
* Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved. | |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | |
* | |
* This code is free software; you can redistribute it and/or modify it | |
* under the terms of the GNU General Public License version 2 only, as | |
* published by the Free Software Foundation. | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"jmhVersion" : "1.29", | |
"benchmark" : "org.tikv.jmh.ComparatorBenchmark.asReadonlyBuffer", | |
"mode" : "avgt", | |
"threads" : 1, | |
"forks" : 1, | |
"jvm" : "/usr/lib/jvm/java-11-openjdk-11.0.10.0.9-0.fc33.x86_64/bin/java", | |
"jvmArgs" : [ | |
"-javaagent:/home/peter/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/peter/work/git/tikv-client-java/target/jacoco.exec" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"jmhVersion" : "1.29", | |
"benchmark" : "org.tikv.jmh.ComparatorBenchmark.asReadonlyBuffer", | |
"mode" : "avgt", | |
"threads" : 1, | |
"forks" : 1, | |
"jvm" : "/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.282.b08-0.fc33.x86_64/jre/bin/java", | |
"jvmArgs" : [ | |
"-javaagent:/home/peter/.m2/repository/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/peter/work/git/tikv-client-java/target/jacoco.exec" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.tikv.jmh; | |
import com.google.protobuf.ByteString; | |
import java.util.concurrent.ThreadLocalRandom; | |
import java.util.concurrent.TimeUnit; | |
import org.openjdk.jmh.annotations.Benchmark; | |
import org.openjdk.jmh.annotations.BenchmarkMode; | |
import org.openjdk.jmh.annotations.Fork; | |
import org.openjdk.jmh.annotations.Measurement; | |
import org.openjdk.jmh.annotations.Mode; |