Skip to content

samsson/MethodSpeedTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 

Repository files navigation

MethodSpeedTest

Java application to test the execution speed of methods and compare two for best performance CPU wise.

To run, execute main() of SpeedTest.java

To test methods, edit SpeedTest.java with custom functions at:

startTime = System.nanoTime();
/* Your function call here */
run1result = MethodLibrary.equalsNofunction(commandLineArguments, "calc.exe");
runtime1 = runtime1 +  System.nanoTime() - startTime;
startTime = System.nanoTime();
/* Your second function call here */
run2result = MethodLibrary.equalsfunction(commandLine, commandLineArguments);
runtime2 = runtime2 + System.nanoTime() - startTime;

About

Java app to test method execution speed

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages