From d62f06d331d8eec257dcd31b9440c202ad4610ed Mon Sep 17 00:00:00 2001
From: zooko <zooko@zooko.com>
Date: Wed, 28 Mar 2007 06:48:39 +0530
Subject: [PATCH] pyfec: add benchmark measurement on my cool new MacBook Pro

darcs-hash:c0ac0c193c88584f7363f09e236d28a70dd4e9de
---
 pyfec/README.txt              | 3 +++
 pyfec/fec/test/bench_pyfec.py | 3 +++
 2 files changed, 6 insertions(+)

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()
+
-- 
2.45.2