src: add revised benchmark code