From cf1d76de4b75de08ef990e3edb6946431f2030de Mon Sep 17 00:00:00 2001 From: "John.Lockwood" Date: Tue, 16 Dec 2014 15:37:24 -0800 Subject: [PATCH] Pretty print the benchmark results Allows quicker viewing of results. --- mark.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mark.py b/mark.py index c9bd575..d02aa0b 100755 --- a/mark.py +++ b/mark.py @@ -8,6 +8,7 @@ We get each package to decode the results of each binary and then encode the same payload. """ +import pprint import sys import os.path @@ -176,6 +177,11 @@ def write_pickle(options, decode_results, encode_results): 'encode': encode_results }, f, pickle.HIGHEST_PROTOCOL) + print "decode_results" + pprint.pprint(decode_results) + print "encode_results" + pprint.pprint(encode_results) + def main(*args): options, args = parse_args(*args)