RIOT-OS / RobotFW-tests

Includes tests for RIOT based on the Robot Framework
GNU Lesser General Public License v2.1
4 stars 13 forks source link

Add plotting script for accuracy timer benchmark #98

Closed pokgak closed 3 years ago

pokgak commented 3 years ago

This PR adds the plotting script for accuracy timer benchmarks. I also included the fix to the resulting HTML file to convert <br> tags in the Plotly output to <br />.

This script is only for the accuracy timer benchmark, for now, more coming.

MrKevinWeiss commented 3 years ago

Do I need something to view the graphs after downloading the .html? I can see the data is there just nothing is being rendered on my browser. I assume this will be a function of the new HiL website?

If @ozfox says it is OK then I am fine.

pokgak commented 3 years ago

The HTML file output from the pipeline is not a complete HTML file, only meant to be included using XSLT. However, you can remove the flag --for-ci from the command in robot-html in Makefile.include to get a full HTML that can be opened in a browser.

pokgak commented 3 years ago

@ozfox you might want to check if the HTML output from this PR can be used with XSLT.

MrKevinWeiss commented 3 years ago

Hmm, we can break that out late if we need control from the make level. All good on my end.

pokgak commented 3 years ago

Ping @ozfox?

ozfox commented 3 years ago

@pokgak Accuracy plots look great! Works as expected..