From 85b8982553f18fd1d17b87fba457b549cf9f0226 Mon Sep 17 00:00:00 2001 From: Russell Jones Date: Tue, 15 Apr 2014 15:50:10 -0700 Subject: [PATCH] Update Benchmarks.md --- docs/Benchmarks.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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 | -- 2.43.0