Skip to content

Commit b8071de

Browse files
committed
docs: Update benchmark data
1 parent f6f32db commit b8071de

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

bindings/ruby/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,11 +136,11 @@ It consistently outperforms `premailer`, offering speed increases often exceedin
136136

137137
The table below provides a detailed comparison between `css_inline` and `premailer` when inlining CSS into an HTML document (like in the Usage section above):
138138

139-
| | `css_inline 0.10.3` | `premailer 1.21.0 with Nokogiri 1.15.2` | Difference |
139+
| | `css_inline 0.10.4` | `premailer 1.21.0 with Nokogiri 1.15.2` | Difference |
140140
|-------------------|---------------------|------------------------------------------------|------------|
141-
| Basic usage | 9.16 µs | 406.53 µs | **44.32x** |
142-
| Realistic email 1 | 190.90 µs | 10.10 ms | **52.72x** |
143-
| Realistic email 2 | 135.86 µs | Error: Cannot parse 0 calc((100% - 500px) / 2) | - |
141+
| Basic usage | 8.73 µs | 421.40 µs | **48.24x** |
142+
| Realistic email 1 | 172.71 µs | 9.77 ms | **56.62x** |
143+
| Realistic email 2 | 128.53 µs | Error: Cannot parse 0 calc((100% - 500px) / 2) | - |
144144

145145
Please refer to the `test/bench.rb` file to review the benchmark code.
146146
The results displayed above were measured using stable `rustc 1.70` on Ruby `3.2.2`.

0 commit comments

Comments
 (0)