From: zooko Date: Wed, 28 Mar 2007 01:18:39 +0000 (+0530) Subject: pyfec: add benchmark measurement on my cool new MacBook Pro X-Git-Url: https://git.rkrishnan.org/components/com_hotproperty/css/%22file:/FOOURL?a=commitdiff_plain;h=d62f06d331d8eec257dcd31b9440c202ad4610ed;p=tahoe-lafs%2Fzfec.git pyfec: add benchmark measurement on my cool new MacBook Pro darcs-hash:c0ac0c193c88584f7363f09e236d28a70dd4e9de --- diff --git a/pyfec/README.txt b/pyfec/README.txt index e0e3325..5692349 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 58909c4..25967ee 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() +