mirage / bechamel

Agnostic benchmark in OCaml (proof-of-concept)
MIT License
44 stars 15 forks source link

src/main.exe doesn't do as described in README.md #2

Closed hannesm closed 3 years ago

hannesm commented 5 years ago

your recent commits changed the behaviour of main.exe, and I don't understand what I need to do to get back the notty backend. maybe the json stuff should be a different executable or a command-line flag?

thanks, hannes

dinosaure commented 5 years ago

Ah yes, I update main.exe to produce a JSON which can be used by the HTML back-end and show you more details than the notty. I would like to say that the HTML back-end is more precise and should be used instead of the notty back-end where it show you samples.

However, if you prefer to continue to use the notty back-end, I can keep the example :+1: .

hannesm commented 5 years ago

if this is the case, I'm as well happy with the json, but I failed to find any documentation on how to use the HTML/js backend...

dinosaure commented 5 years ago

I yes, so to use it:

$ dune exec src/main.exe > html/outputs.json
$ firefox html/index.html

I would like to produce something which is completely self-contained but I did not find a good solution currently.

dinosaure commented 3 years ago

I think this issue was fixed by the last release of bechamel where I provide several executables for each backends: