Skip to content

Commit 069cf59

Browse files
committed
docs: Update README
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
1 parent 8013e96 commit 069cf59

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ Caching is disabled by default.
269269

270270
`css-inline` typically inlines HTML emails within hundreds of microseconds, though results may vary with input complexity.
271271

272-
Benchmarks for `css-inline==0.19.0`:
272+
Benchmarks for `css-inline==0.19.2`:
273273

274274
- Basic: **4.09 µs**, 230 bytes
275275
- Realistic-1: **78.94 µs**, 8.58 KB

bindings/python/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -267,15 +267,15 @@ Most of the time it achieves over a **10x** speed advantage compared to the next
267267

268268
Here is the performance comparison:
269269

270-
| | Size | `css_inline 0.19.0` | `premailer 3.10.0` | `toronado 0.1.0` | `pynliner 0.8.0` |
271-
|-------------|---------|---------------------|------------------------|-------------------------|-------------------------|
272-
| Basic | 230 B | 4.27 µs | 85.05 µs (**19.93x**) | 495.30 µs (**116.05x**) | 867.79 µs (**203.32x**) |
273-
| Realistic-1 | 8.58 KB | 80.59 µs | 1.03 ms (**12.76x**) | 11.55 ms (**143.29x**) | 11.71 ms (**145.36x**) |
274-
| Realistic-2 | 4.3 KB | 46.88 µs | 1.44 ms (**30.73x**) | ERROR | ERROR |
275-
| GitHub page | 1.81 MB | 17.57 ms | 10.78 s (**613.48x**) | ERROR | ERROR |
270+
| | Size | `css_inline 0.19.0` | `premailer 3.10.0` | `toronado 0.1.0` | `inlinestyler 0.2.5` | `pynliner 0.8.0` |
271+
|-------------|---------|---------------------|------------------------|-------------------------|------------------------|-------------------------|
272+
| Basic | 230 B | 4.27 µs | 85.05 µs (**19.93x**) | 495.30 µs (**116.05x**) | 1.02 ms (**238.87x**) | 867.79 µs (**203.32x**) |
273+
| Realistic-1 | 8.58 KB | 80.59 µs | 1.03 ms (**12.76x**) | 11.55 ms (**143.29x**) | 26.37 ms (**327.21x**) | 11.71 ms (**145.36x**) |
274+
| Realistic-2 | 4.3 KB | 46.88 µs | 1.44 ms (**30.73x**) | ERROR | 17.71 ms (**377.77x**) | ERROR |
275+
| GitHub page | 1.81 MB | 17.57 ms | 10.78 s (**613.48x**) | ERROR | ERROR | ERROR |
276276

277277
The "Basic" case was obtained by benchmarking the example from the Usage section.
278-
Note that the `toronado` and `pynliner` libraries encountered errors when used to inline CSS in the last scenarios.
278+
Note that the `toronado`, `inlinestyler`, and `pynliner` libraries encountered errors when used to inline CSS in the last scenarios.
279279

280280
The benchmarking code is available in the `benches/bench.py` file. The benchmarks were conducted using the stable `rustc 1.91`, Python `3.14.2` on Ryzen 9 9950X.
281281

0 commit comments

Comments
 (0)