Benchmarks: A harness for running benchmarks - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Software Libraries (/forum-10.html) +--- Forum: HP Prime Software Library (/forum-15.html) +--- Thread: Benchmarks: A harness for running benchmarks (/thread-9628.html) |
Benchmarks: A harness for running benchmarks - StephenG1CMZ - 12-04-2017 12:09 AM A simple harness for selecting and running benchmarks. You can tailor whether or not you want results printed, or in lists. (For a definitive benchmark, you wouldn't choose both). RE: Benchmarks: A harness for running benchmarks - StephenG1CMZ - 12-04-2017 12:11 AM Version 0.1 Code:
Note: There is a complication in getting Whetstones and Benchmarks to compile. Whetstones requires OUTREAL, so Benchmarks must be compiled first... Except Benchmarks requires MWIPS so Whetstones must be compiled first. The lazy solution: 1 Comment out MWIPS 2 Compile Benchmarks 3 Compile Whetstones 4 Uncomment MWIPS and re-compile Benchmarks. *** I forgot Step 4 in Version 0.1 *** An alternative method:(with MWIPS uncommented as intended) 1 write an empty OUTREAL 2 Compile Whetstones 3 Compile Benchmarks 4 Recompile whichever OUTREAL you wish to use. |