Skip to content

Wordenskjold/jBenchmarking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple Benchmarker for small running-time measurements.
Pass a Runnable or a Benchmarkable to a BenchMarker object, and call start to measure the running time in ms of the method or runnable.


Example usage:

new BenchMarker(new Runnable(){
  public void run() {
  // Do something!
  }}).start();

You can set the number of method-executions manually:

benchmarker.setAccuracy(20);
benchmarker.start();

See more in the src for BenchMarker.

About

simple robust running-time calculation for java, for simple benchmarking

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages