/** * Runs the benchmark and prints the time result to the standard output. * Edit this method for measuring the performance of a different map projection implementation. * * @param args ignored. * @throws Exception if an error occurred while creating the map projection, projecting a point, <i>etc.</i> */ public static void main(String[] args) throws Exception { final Benchmark benchmark = new Benchmark( // Put on next line the provider of the projection to benchmark. new org.apache.sis.internal.referencing.provider.LambertConformal2SP(), 8, // Central meridian 25, // Standard parallel 1 40); // Standard parallel 2 for (int i=0; i<10; i++) { benchmark.run(true); System.gc(); Thread.sleep(1000); } benchmark.printStatistics(); }