-
Notifications
You must be signed in to change notification settings - Fork 5
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
benchmarkfolder on NetBeans. - Build and run the project. If there are build errors, check that the NetBeans Maven settings does not block
httprepository URLs. - The output should display the various tests being run. In the end, the results are saved in the
recordfolder in thebenchmarkdirectory.
How to generate HTML plot.
- Copy the
recordfolder in thebenchmarkdirectory tobenchmark\src\main\webapp. This data will be used to generate the plots. - Start a local web server- Open a
terminalin thisbenchmark\src\main\webappdirectory. 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...