jzillmann/jmh-visualizer

Make showing of menu optional

Closed this issue · 1 comments

Showing the 'JMH Visualizer menu' should be optional for use with external URLS and Gists.

From @skjolber (#9):

As aleksandr-vin, I would be very happy with a simple page displaying just benchmarks - no drag'n drop, menu or sidebar alternatives.

I have managed to slim down the default template to what I'd like to see:

https://skjolber.github.io/xml-log-filter/docs/benchmark/jmh/index.html

I guess linking the file via URL parameter is useful, I'd like also to be able to link json files containing links to the benchmark results and perhaps some crude coloring scheme.

Added a new setting called 'topBar'. Can be set in settings.js AND/OR as parameter.
Values are 'default', 'of', 'my custom header'.
If the default header isn't shown, a footer referencing JMH Visualizer will be shown instead.