Skip to content

Commit 7fd6ba1

Browse files
committed
docs: Update syntax
1 parent 191c288 commit 7fd6ba1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bindings/python/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ inlined = etree.tostring(tree).decode(encoding="utf-8")
173173

174174
## Performance
175175

176-
`css-inline` is powered by efficient tooling from Mozilla's Servo project and significantly outperforms other Python alternatives in terms of speed.
176+
`css-inline` is powered by efficient tooling from Mozilla's Servo project and significantly outperforms other Python alternatives in terms of speed.
177177
It achieves over a **10x** speed advantage compared to the next fastest alternative.
178178

179179
Here is the performance comparison:
@@ -184,7 +184,7 @@ Here is the performance comparison:
184184
| Realistic-1 | 262.33 µs | 2.11 ms (**8.08x**) | 25.51 ms (**97.28x**) | 43.13 ms (**164.43x**) | 72.55 ms (**276.57x**) |
185185
| Realistic-2 | 151.83 µs | 4.12 ms (**27.18x**) | ERROR | 28.85 ms (**190.03x**) | ERROR |
186186

187-
The above data was obtained from benchmarking the inlining of CSS in HTML, as described in the Usage section.
187+
The above data was obtained from benchmarking the inlining of CSS in HTML, as described in the Usage section.
188188
Note that the `toronado` and `pynliner` libraries both encountered errors when used to inline CSS in the last scenario.
189189

190190
The benchmarking code is available in the `benches/bench.py` file. The tests were conducted using the stable `rustc 1.70` on Python `3.11.0`.

0 commit comments

Comments
 (0)