Export intermediate results after each benchmark command#339
Export intermediate results after each benchmark command#339sharkdp merged 2 commits intosharkdp:masterfrom
Conversation
|
Thank you very much for your contribution!
That's actually what I suggested in #313, in case you have not seen that.
I guess it's not even possible to generate always-valid JSON files this way, as they would need some sort of closing array
The Markdown export shows relative times in one column. These relative times can change as new benchmark results come in. So using Could you please add an entry to the "unreleased" section in where |
|
Sorry, I haven't checked #313 as there was no PR linked to the issue. Reading it now and it's nice that you came to the same conclusion which is "the export should be so fast that it doesn't really matter" :) |
|
Thank you for the update! |
fixes #306
I took a very simple approach, by just exporting all benchmark results after each benchmark command has run. It re-creates the file, but still allows using e.g.
tail -f.Please let me know if this fits the requirements, happy to work on a more sophisticated implementation, e.g. opening the file and trying to append individual results, however, this becomes a bit more complicated for json I assume.