separate benchmarking and rendering of results

also, add functions to dump/load benchmarking results