This file contains hidden or 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
| ===================== 10k | |
| [info] Benchmark Mode Cnt Score Error Units | |
| [info] IntMapBenchmark.foreachDebox thrpt 15 8710.386 ± 496.310 ops/s | |
| [info] IntMapBenchmark.foreachJavalib thrpt 15 5814.439 ± 39.378 ops/s | |
| [info] IntMapBenchmark.foreachMacro thrpt 15 8304.898 ± 353.884 ops/s | |
| [info] IntMapBenchmark.foreachSpecialized thrpt 15 8561.384 ± 388.886 ops/s | |
| [info] IntMapBenchmark.foreachStdlib thrpt 15 3688.732 ± 22.746 ops/s | |
| [info] IntMapBenchmark.getDirectDebox thrpt 15 33668882.974 ± 757403.570 ops/s |
This file contains hidden or 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
| [info] Benchmark Mode Cnt Score Error Units | |
| [info] IntMapBenchmark.foreachGeneric thrpt 15 2465.371 ± 193.889 ops/s | |
| [info] IntMapBenchmark.foreachOffheap thrpt 15 6223.255 ± 12.441 ops/s | |
| [info] IntMapBenchmark.foreachSpecialized thrpt 15 6591.076 ± 105.424 ops/s | |
| [info] IntMapBenchmark.foreachStdlib thrpt 15 1031.980 ± 45.310 ops/s | |
| [info] IntMapBenchmark.getNonExistingGeneric thrpt 15 53070040.709 ± 995047.045 ops/s | |
| [info] IntMapBenchmark.getNonExistingOffheap thrpt 15 95934646.236 ± 2533274.886 ops/s | |
| [info] IntMapBenchmark.getNonExistingSpecialized thrpt 15 104859601.467 ± 2646323.420 ops/s | |
| [info] IntMapBenchmark.getNonExistingStdlib thrpt 15 117702819.904 ± 4038029.880 ops/s |
This file contains hidden or 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
| // FORGE_LIBRARY_VERSION=2.0 | |
| allprojects { | |
| afterEvaluate { | |
| if (project.hasProperty('profile')) { | |
| def profileFile = "$profile-profile.gradle" | |
| if (new File(profileFile).exists()) { | |
| project.apply from: profileFile | |
| } | |
| } |
This file contains hidden or 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
| // In parent project: | |
| allprojects { | |
| dependencies { | |
| addManaged config: 'testCompile', group: 'junit', name: 'junit', version: '4.11' | |
| } | |
| } | |
| // In the same project or in subprojects: | |
| dependencies { |
This file contains hidden or 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
| if (!project.hasProperty('_managedDependencies')) { | |
| project._managedDependencies = [:] | |
| } | |
| def addManaged = { | |
| project._managedDependencies[it.group + ':' + it.name] = [ | |
| 'version': it.version, | |
| 'config' : it.config | |
| ] | |
| } | |
| def addDirect = { |
This file contains hidden or 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
| task forgeOutput << { | |
| def indentLevel = 0 | |
| def outputFile = new File('forge-output.xml').newPrintWriter() | |
| def indent = { | |
| indentLevel.times { | |
| outputFile.print ' ' | |
| } | |
| } | |
| def output = { | |
| indent() |