t/perf: factor out percent calculations
authorJeff King <peff@peff.net>
Fri, 17 Aug 2018 20:55:24 +0000 (16:55 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 20 Aug 2018 21:04:47 +0000 (14:04 -0700)
commit5a924a62bb0fc5524101aeec9086aee530c2244d
treef21972dfbfd4931658bd115c691d60efce578e69
parent968e77a5f87c1a50983323f15296a6dda53a1098
t/perf: factor out percent calculations

This will let us reuse the code when we add new values to
aggregate besides times.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/perf/aggregate.perl