From: Zooko O'Whielacronx Date: Wed, 28 Mar 2007 01:18:39 +0000 (-0700) Subject: pyfec: add benchmark measurement on my cool new MacBook Pro X-Git-Url: https://git.rkrishnan.org/pf/content/en/service/contact.html?a=commitdiff_plain;h=fd7fa89963f5fdd3138c01b73ca4fdd49bf4d47e;p=tahoe-lafs%2Ftahoe-lafs.git pyfec: add benchmark measurement on my cool new MacBook Pro --- diff --git a/pyfec/README.txt b/pyfec/README.txt index e0e3325f..56923498 100644 --- a/pyfec/README.txt +++ b/pyfec/README.txt @@ -151,6 +151,9 @@ v2.4 and v2.5. On Peter's fancy Intel Mac laptop (2.16 GHz Core Duo), it encoded from a file at about 6.2 million bytes per second. +On my even fancier Intel Mac laptop (2.33 GHz Core Duo), it encoded from a file +at about 6.8 million bytes per second. + On my old PowerPC G4 867 MHz Mac laptop, it encoded from a file at about 1.3 million bytes per second. diff --git a/pyfec/fec/test/bench_pyfec.py b/pyfec/fec/test/bench_pyfec.py index 58909c4b..25967ee8 100644 --- a/pyfec/fec/test/bench_pyfec.py +++ b/pyfec/fec/test/bench_pyfec.py @@ -90,3 +90,6 @@ def bench_read_encode_and_drop(): finally: os.remove("tmpranddata") +if __name__ == "__main__": + bench_encode_to_files_shuffle_decode_from_files() +