-
Notifications
You must be signed in to change notification settings - Fork 3
Home
Haksun Li edited this page Dec 4, 2022
·
4 revisions
This Maven repository compares the timings on various operations of the NM Dev and other libraries. A previously generated webpage NM-final-plot.html
is saved for reference in the benchmark
folder.
How to setup and run the Maven project on NetBeans-
- Create a Maven project with the
benchmark
folder on NetBeans. - Build and run the project. If there are build errors, check that the NetBeans Maven settings does not block
http
repository URLs. - The output should display the various tests being run. In the end, the results are saved in the
record
folder in thebenchmark
directory.
How to generate HTML plot.
- Copy the
record
folder in thebenchmark
directory tobenchmark\src\main\webapp
. This data will be used to generate the plots. - Start a local web server- Open a
terminal
in thisbenchmark\src\main\webapp
directory. Enter the commandpython -m http.server
. - Open a web browser. Enter the URL:
http://localhost:8000/benchmark_chart.html?category=linearalgebra
. This should give a webpage with all the comparison plots. TODO(haksunli,20221205): this step does not work on my computer but it works on the GCP VM. Not sure why...