updated timing mechanism for measuring build and test time over whole dataset