jzillmann / jmh-visualizer

Visually explore your JMH Benchmarks
https://jmh.morethan.io
GNU Affero General Public License v3.0
301 stars 23 forks source link

Make showing of menu optional #12

Closed jzillmann closed 6 years ago

jzillmann commented 6 years ago

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

From @skjolber (https://github.com/jzillmann/jmh-visualizer/issues/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.

jzillmann commented 6 years ago

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.