Class PrimesSpeedTest
java.lang.Object
com.singularsys.jepexamples.diagnostics.SpeedTest
com.singularsys.extexamples.diagnostics.PrimesSpeedTest
Speed test for various methods of calculating primes.
Some the the implements are in the main lambda, chained,
stream ans structure documentation.
Options: maxvalue [-monitor|-montime|-unchecked] [-pause] [-shuffle] [-config=<name>]
- maxvalue: first argument is maximum value to calculate primes to
- -monitor: print function/operator/variable call counts
- -montime: print function/operator/variable call counts and times for calls
- -unchecked: use the unchecked evaluator
- -calltree: print the call tree
- -pause: pause after each test to allow profiling
- -shuffle: shuffle the order of execution
- -config=name: only run the specified configuration
- Since:
- Jep 4.1, extensions 2.2
-
Nested Class Summary
Nested classes/interfaces inherited from class com.singularsys.jepexamples.diagnostics.SpeedTest
SpeedTest.BDConfig, SpeedTest.EvaluationConfig, SpeedTest.JepConfig, SpeedTest.JepConfig3_4, SpeedTest.JepConfig3_5, SpeedTest.JepConfig3_5NC, SpeedTest.JepConfigNoChecks, SpeedTest.OldConfig, SpeedTest.Outputter, SpeedTest.PostfixConfig, SpeedTest.RatioOutputter, SpeedTest.RealConfig, SpeedTest.TabOutputter, SpeedTest.ThreadSafeConfig, SpeedTest.UncheckedConfig -
Field Summary
Fields inherited from class com.singularsys.jepexamples.diagnostics.SpeedTest
configs, nDeriv, num_itts, num_vals, num_warmup, outputter, totalTimes -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PrimesSpeedTest
-
-
Method Details
-
doAll
public void doAll(int n) Run speed comparison for a set of equations. -
doOne
public void doOne(int n, com.singularsys.extexamples.diagnostics.PrimesSpeedTest.PrimeEvaluationConfig config) -
main
Main method, executes all speed tests.- Parameters:
args-
-