Comments (3)
How is this helpful ?
Where do you generate the reports ? On the docker instance ?
from jmh-visualizer.
So for now, this can allow the user to just self host jmh-visualizer
.
But the scope of the visualizer can be further extended after this to make it more worth installing via docker. For example one can mention a directory to find the reports (say data
). The UI can display the directory structure and display reports in the UI.
This can then become self sufficient where the benchmarks can be run in docker environment and results are published in a shared volume. jmh-visualizer can then read the directory structure of this shared volume and help the user visualise the data.
As of now I am using similar setup in a docker-compose.yaml
way where my benchmark runs and puts the result in a volume. Now that volume is shared the visualizer container. Since visualizer container has nginx to host the UI, I can access the report at lets say: http://localhost?source=http://localhost/reports.json
and this is pretty seamless.
A little bit unrelated, but I feel that this project is very simple and does just what's needed very nicely. A nice to have feature keeping in mind the above extensibility would be to expose it as a react component, that would allow users to integrate it at more places and even in their UI applications. One use case I can think of here is to fetch the reports from mongo and use the React Component in my App to display the reports.
from jmh-visualizer.
Thanks for the answer and sorry for the delay in response... It is merged now.
Regarding the React component... Currently don't do active development of the project.
If you want to implement this, feel free. If it's not too crazy I will merge it ;)
from jmh-visualizer.
Related Issues (20)
- sort order of multi run broken HOT 4
- Support for log-scale HOT 6
- Missing parameter labels/names HOT 2
- Rework colors of summary scoreDiff/ErrorDiff chart HOT 1
- Custom Reports
- Error bar isn't centralized HOT 6
- Cannot read property 'forEach' of undefined HOT 2
- Show nano fractions HOT 5
- Comparison chart with bars HOT 7
- Accept jmh files by URL HOT 2
- Doesn't work when source URL is a URL shortener HOT 3
- Issues building on Windows? HOT 1
- Support multi file gists HOT 7
- The order of two input gists is not as specified via URL HOT 1
- dark mode HOT 1
- Add an always-accessible drop zone, instead of Reset & Upload New HOT 1
- Fails on file containing both parameterized and non-parameterized benchmarks HOT 3
- Auto-scroll to benchmark class heading by anchor in URL
- Error bars don't make sense.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jmh-visualizer.