@@ -178,26 +178,26 @@ library has excellent performance characteristics. In comparison with other Pyth
178178
179179For inlining CSS in the html document from the ` Usage ` section above there is the following breakdown in the benchmarks:
180180
181- - ` css_inline 0.9.0 ` - 9.95 us
182- - ` premailer 3.10.0 ` - 210.27 us (** x21.11 ** )
183- - ` toronado 0.1.0 ` - 1.10 ms (** x110.96 ** )
184- - ` inlinestyler 0.2.5 ` - 1.72 ms (** x172.92 ** )
185- - ` pynliner 0.8.0 ` - 1.95 ms (** x195.90 ** )
181+ - ` css_inline 0.9.0 ` - 9.72 us
182+ - ` premailer 3.10.0 ` - 207.95 us (** x21.39 ** )
183+ - ` toronado 0.1.0 ` - 1.03 ms (** x106.86 ** )
184+ - ` inlinestyler 0.2.5 ` - 1.69 ms (** x174.64 ** )
185+ - ` pynliner 0.8.0 ` - 2.05 ms (** x211.89 ** )
186186
187187Realistic email 1:
188188
189- - ` css_inline 0.9.0 ` - 277.01 us
190- - ` premailer 3.10.0 ` - 2.68 ms (** x9.69 ** )
191- - ` toronado 0.1.0 ` - 27.03 ms (** x97.59 ** )
192- - ` inlinestyler 0.2.5 ` - 51.74 ms (** x186.81 ** )
193- - ` pynliner 0.8.0 ` - 86.89 ms (** x313.67 ** )
189+ - ` css_inline 0.9.0 ` - 262.33 us
190+ - ` premailer 3.10.0 ` - 2.11 ms (** x8.08 ** )
191+ - ` toronado 0.1.0 ` - 25.51 ms (** x97.28 ** )
192+ - ` inlinestyler 0.2.5 ` - 4313 ms (** x164.43 ** )
193+ - ` pynliner 0.8.0 ` - 72.55 ms (** x276.57 ** )
194194
195195Realistic email 2:
196196
197- - ` css_inline 0.9.0 ` - 155.67 us
198- - ` premailer 3.10.0 ` - 4.05 ms (** x26.04 ** )
197+ - ` css_inline 0.9.0 ` - 151.83 us
198+ - ` premailer 3.10.0 ` - 4.12 ms (** x27.18 ** )
199199- ` toronado 0.1.0 ` - ` Error: Pseudo-elements are not supported `
200- - ` inlinestyler 0.2.5 ` - 29.51 ms (** x189.58 ** )
200+ - ` inlinestyler 0.2.5 ` - 28.85 ms (** x190.03 ** )
201201- ` pynliner 0.8.0 ` - ` Error: No match was found `
202202
203203You can take a look at the benchmarks' code at ` benches/bench.py ` file.
0 commit comments