Skip to content

fercarcedo/AlgMeter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

AlgMeter

Simplest way of measuring an algorithm execution time and generating graphs

Usage

AlgMeter is composed of two main modules: Meter and Renderer. Meter measures an algorithm's execution time and renderer generates a spreadsheet with a table and graph of the times measured by Meter. Its usage is as simple as follows:

Meter meter = new Meter(n -> new Foo().execute(n), startN, endN, 
    previousN -> previousN * 2, repetitions);

Renderer renderer = new Renderer(meter.run(), //Map<Long, Long> with execution times
                                 "algtimes"); //generated spreadsheet name (without extension)
renderer.render();

About

Simplest way of measuring an algorithm execution time and generating graphs

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages