question: public static void main ( String [ ] args ) throws Exception { final String cfg = "modules/yardstick/config/ignite-localhost-config.xml" ; final Class < ? extends BenchmarkDriver > benchmark = IgniteSqlQueryBenchmark . class ; final int threads = 1 ; final boolean clientDriverNode = true ; final int extraNodes = 2 ; final int warmUp = 5 ; final int duration = 5 ; final int range = 100_000 ; final boolean throughputLatencyProbe = false ; for ( int i = 0 ; i < extraNodes ; i ++ ) { IgniteConfiguration nodeCfg = Ignition . loadSpringBean ( cfg , "grid.cfg" ) ; nodeCfg . setGridName ( "node-" + i ) ; nodeCfg . setMetricsLogFrequency ( 0 ) ; Ignition . start ( nodeCfg ) ; } ArrayList < String > args0 = new ArrayList < > ( ) ; addArg ( args0 , "-t" , threads ) ; addArg ( args0 , "-w" , warmUp ) ; addArg ( args0 , "-d" , duration ) ; addArg ( args0 , "-r" , range ) ; addArg ( args0 , "-dn" , benchmark . getSimpleName ( ) ) ; addArg ( args0 , "-sn" , "IgniteNode" ) ; addArg ( args0 , "-cfg" , cfg ) ; if ( throughputLatencyProbe ) addArg ( args0 , "-pr" , "ThroughputLatencyProbe" ) ; if ( clientDriverNode ) args0 . add ( "-cl" ) ; BenchmarkDriverStartUp . main ( args0 . toArray ( new String [ args0 . size ( ) ] ) ) ; }
target:  Starts nodes/driver in single JVM for quick benchmarks testing.