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
[ | |
{ | |
"benchmark" : "io.morethan.javabenchmarks.string.ConcatenatedStringBenchmark.concat", | |
"mode" : "thrpt", | |
"threads" : 1, | |
"forks" : 5, | |
"warmupIterations" : 10, | |
"warmupTime" : "1 s", | |
"warmupBatchSize" : 1, | |
"measurementIterations" : 20, |
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
const { app, BrowserWindow } = require('electron'); | |
const path = require('path') | |
// Keep a global reference of the window object, if you don't, the window will | |
// be closed automatically when the JavaScript object is garbage collected. | |
let mainWindow; | |
function createWindow() { | |
const mode = process.env.NODE_ENV; | |
mainWindow = new BrowserWindow({ |
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
// Add dependsOn to existing task | |
test.dependsOn jar | |
test.dependsOn tasks.getByPath(':submodule1:shadowJar') | |
// Update gradle wrapper in a project | |
gradle wrapper |
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
[ | |
{ | |
"benchmark" : "io.morethan.javabenchmarks.string.ConcatenatedStringBenchmark.concat", | |
"mode" : "thrpt", | |
"threads" : 1, | |
"forks" : 5, | |
"warmupIterations" : 10, | |
"warmupTime" : "1 s", | |
"warmupBatchSize" : 1, | |
"measurementIterations" : 20, |
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
[ | |
{ | |
"benchmark" : "io.morethan.javabenchmarks.string.ConcatenatedStringBenchmark.concat", | |
"mode" : "thrpt", | |
"threads" : 1, | |
"forks" : 5, | |
"warmupIterations" : 10, | |
"warmupTime" : "1 s", | |
"warmupBatchSize" : 1, | |
"measurementIterations" : 20, |
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
// Adds JMH integration to a project. | |
// Considering putting this file into gradle/ folder and include it with: | |
// apply from: rootProject.file('gradle/jmh.gradle') | |
sourceSets { | |
jmh { | |
compileClasspath += sourceSets.test.runtimeClasspath | |
runtimeClasspath += sourceSets.test.runtimeClasspath | |
} | |
} |