Commit 7da48b9c authored by Eric Bruneton's avatar Eric Bruneton

Update the performance benchmarks.

parent 17a3a8a4
Pipeline #4570 passed with stage
in 39 seconds
image: gradle:4.10.2-jdk8-alpine
image: gradle:5.1.1-jdk8-alpine
variables:
# Set the location of the dependency cache to a local directory, so that it
......
......@@ -23,7 +23,7 @@ task runBenchmark(type: GradleBuild) {
}
// Manual task to run the benchmarks and to regenerate the performance.html page
// from the results (takes ~45m).
// from the results (takes ~55m).
task benchmark(type: JavaExec, dependsOn: 'runBenchmark') {
classpath sourceSets.main.runtimeClasspath
main 'ResultProcessor'
......
Subproject commit 3ba1954f2a80b499c37d534b4d3303a5598de2ca
Subproject commit 7a469bc9021ab0862e3308cf91a49a60a2512305
......@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-bin.zip
This diff is collapsed.
......@@ -125,6 +125,26 @@
One operation = create a ClassReader and make an empty visitor visit
it, for a few dozen classes.
<#break>
<#case "AdapterBenchmarkJava8.getClassInfo">
One operation = create a ClassReader and call getAccess(),
getClassName(), getSuperName(), and getInterfaces() on it, for 36
classes using Java 8 features (including invokedynamic instructions).
<#break>
<#case "AdapterBenchmarkJava8.readAndWriteWithCopyPool">
One operation = create a ClassReader and make a ClassWriter with the
"copy constant pool" optimization visit and serialize it, for 36
classes using Java 8 features (including invokedynamic instructions).
<#break>
<#case "AdapterBenchmarkJava8.readAndWrite">
One operation = create a ClassReader and make a ClassWriter visit and
serialize it (or the equivalent for the other libraries), for 36
classes using Java 8 features (including invokedynamic instructions).
<#break>
<#case "AdapterBenchmarkJava8.read">
One operation = create a ClassReader and make an empty visitor visit
it, for 36 classes using Java 8 features (including invokedynamic
instructions).
<#break>
<#case "GeneratorBenchmark">
One operation = generate a HelloWorld class in byte array form.
<#break>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment