From 970c602aa60bb29845c445c18d7b20f7c4552b78 Mon Sep 17 00:00:00 2001 From: Will Newton Date: Tue, 8 Apr 2014 10:18:16 +0100 Subject: benchtests: Improve readability of JSON output Add a small library to print JSON values and use it to improve the readability of the benchmark output and the readability of the benchmark code. ChangeLog: 2014-04-11 Will Newton * benchtests/Makefile (extra-objs): Add json-lib.o. (bench-func): Tidy up JSON output. * benchtests/bench-skeleton.c: Include json-lib.h. (main): Use JSON library functions to do output of benchmark results. * benchtests/bench-timing-type.c (main): Output the timing type simply, leaving formatting to the user. * benchtests/json-lib.c: New file. * benchtests/json-lib.h: Likewise. --- ChangeLog | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 0fdc6b5..5a9db78 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2014-04-11 Will Newton + + * benchtests/Makefile (extra-objs): Add json-lib.o. + (bench-func): Tidy up JSON output. + * benchtests/bench-skeleton.c: Include json-lib.h. + (main): Use JSON library functions to do output of + benchmark results. + * benchtests/bench-timing-type.c (main): Output the + timing type simply, leaving formatting to the user. + * benchtests/json-lib.c: New file. + * benchtests/json-lib.h: Likewise. + 2014-04-11 Torvald Riegel [BZ #15215] -- cgit v1.1