From: Russell Jones Date: Tue, 15 Apr 2014 22:50:10 +0000 (-0700) Subject: Update Benchmarks.md X-Git-Tag: v0.4.15~6 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=85b8982553f18fd1d17b87fba457b549cf9f0226;p=flanker.git Update Benchmarks.md --- diff --git a/docs/Benchmarks.md b/docs/Benchmarks.md index 4bd28e5..7f640d7 100644 --- a/docs/Benchmarks.md +++ b/docs/Benchmarks.md @@ -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 |