I wasn't the first one, Michael Pratt from the Go team did something similar 2y ago ((:
https://github.com/prattmic/benchfmt-convert