Package com.eclipsesource.json.performancetest.caliper

Examples of com.eclipsesource.json.performancetest.caliper.CaliperRunner


      }
    }
  }

  public static void main( String[] args ) throws IOException {
    CaliperRunner runner = new CaliperRunner( BufferedReaderBenchmark.class );
    runner.addParameter( "parser", "null", "gson", "jackson", "minimal-json" );
    runner.addParameter( "input", "rap", "caliper", "long-string", "numbers-array" );
    runner.exec();
  }
View Full Code Here


      throw new NullPointerException();
    }
  }

  public static void main( String[] args ) throws IOException {
    CaliperRunner runner = new CaliperRunner( JsonObjectIterationBenchmark.class );
    runner.addParameter( "size", "4", "16", "64" );
    runner.exec();
  }
View Full Code Here

      }
    }
  }

  public static void main( String[] args ) throws IOException {
    CaliperRunner runner = new CaliperRunner( ReadWriteBenchmark.class );
    runner.addParameter( "parser", "org-json", "gson", "jackson", "json-simple", "minimal-json" );
    runner.addParameter( "input", "rap", "caliper" );
    runner.exec();
  }
View Full Code Here

      }
    }
  }

  public static void main( String[] args ) throws IOException {
    CaliperRunner runner = new CaliperRunner( BufferedWriterBenchmark.class );
    runner.addParameter( "parser", "null", "gson", "jackson", "minimal-json" );
    runner.addParameter( "input", "rap", "caliper", "long-string", "numbers-array" );
    runner.exec();
  }
View Full Code Here

      }
    }
  }

  public static void main( String[] args ) throws IOException {
    CaliperRunner runner = new CaliperRunner( ReadWriteMicroBenchmark.class );
    runner.addParameter( "parser", "org-json", "gson", "jackson", "json-simple", "minimal-json" );
    runner.addParameter( "input", "long-string", "numbers-array" );
    runner.exec();
  }
View Full Code Here

      }
    }
  }

  public static void main( String[] args ) throws IOException {
    CaliperRunner runner = new CaliperRunner( BufferedStringWriterBenchmark.class );
    runner.exec();
  }
View Full Code Here

  private void checkValue( JsonValue value ) {
    assert value != null;
  }

  public static void main( String[] args ) throws IOException {
    new CaliperRunner( IntVsLongBenchmark.class ).exec();
  }
View Full Code Here

      throw new RuntimeException();
    }
  }

  public static void main( String[] args ) throws IOException {
    CaliperRunner runner = new CaliperRunner( ListVsHashLookupBenchmark.class );
    runner.addParameter( "size", "4", "16", "64", "256" );
    runner.exec();
  }
View Full Code Here

TOP

Related Classes of com.eclipsesource.json.performancetest.caliper.CaliperRunner

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.