]> khamidou — GitHub mirrors - flanker.git/commitdiff
Update Benchmarks.md
authorRussell Jones <russjones@users.noreply.github.com>
Tue, 15 Apr 2014 22:50:10 +0000 (15:50 -0700)
committerRussell Jones <russjones@users.noreply.github.com>
Tue, 15 Apr 2014 22:50:10 +0000 (15:50 -0700)
docs/Benchmarks.md

index 4bd28e5eb736115050c08e3ec22871416dfb7439..7f640d74e010204e1fec8a401731c31cc4d5fc58 100644 (file)
@@ -1,7 +1,8 @@
 ## Benchmarks
 
 Below is a comparison between the default Python MIME parser and
-`flanker.mime` in Time, Memory, and Function calls.
+`flanker.mime` in Time, Memory, and Function calls as well as other
+benchmarks relating to Flanker performance.
 
 ### Test Specification:
 
@@ -64,3 +65,13 @@ Headers Only:
 | 11 MB     | 914,741            | 1,253              | 730x    |
 | 1.8 MB    | 195,062            | 9,741              | 20x     |
 | 16 KB     | 3,216              | 2,476              | 1.2x    |
+
+
+#### Pinned Regex 
+
+Even though master does not use a pinned version of regex, we strongly recommend
+due to the 5x speedup compared to the latest version on PyPi (as of 4/15/14).
+
+| File Size | `regex.1.20110315` (seconds) | `regex 2014.04.10` (seconds) | Speedup |
+| --------- | ---------------------------- | ---------------------------- | ------- |
+| 800 KB    | 0.0447                       | 0.0083                       | 5x      |