Description
I'm not sure if this idea fits within the direction you guys would like to take BenchExec, however, I like to get my ideas written down because I forget them 15 minutes later if I don't. If this doesn't fit within the direction of BenchExec, please feel free to close this straight away.
Anyway, it might be useful to be able to compare two executions. What I have envisioned is an additional column for a table with two tool runs. In this additional column, the rows for each benchmark could detail information such as difference in runtime (or speedup as a ratio), memory usage, and discrepancy in execution result (correct vs wrong, etc). In the execution summary at the bottom, different metrics could be used for comparing the two executions as a whole, such as difference in aggregate runtime, aggregate speedup, aggregate accuracy, etc.
In fact, instead of building special tables with this additional column, two columns could be selected for comparison dynamically (possibly similar to a "Compare Items" functionality on an e-commerce website), and the execution comparison column can be displayed with javascript alone, without having to alter the output table from tablegenerator
, since all required information is already present in the table. (That is, add the javascript code to compare execution columns to all tables generated by tablegenerator
, and then users can activate the functionality by selecting two columns to compare.)
This idea has no urgency - I just thought it would be a nice enhancement.