|
3 | 3 | Minimal 0-dependency QR code generator & reader. |
4 | 4 |
|
5 | 5 | - 🔒 Auditable, 0-dependency |
| 6 | +- 🏎 Fast: [faster](#speed) than all JS implementations |
| 7 | +- 🔍 Reliable: 100MB+ of extensive test vectors ensure correctness |
6 | 8 | - 🏞️ Encoding (generating) supports ASCII, term, gif, svg and png codes |
7 | 9 | - 📷 Decoding (reading) supports camera feed input, files and non-browser environments |
8 | | -- 🏎 Fast: faster than all JS implementations |
9 | | -- 🔍 Extensive tests ensure correctness: 100MB+ of vectors |
10 | | -- 🪶 16KB (gzipped) for encoding + decoding, 9KB for encoding |
| 10 | +- 🪶 18KB (gzipped) for encoding + decoding, 9KB for encoding |
11 | 11 |
|
12 | 12 | Check out: |
13 | 13 |
|
@@ -248,14 +248,14 @@ qrcode-generator x 2,909 ops/sec @ 343μs/op |
248 | 248 | nuintun x 3,470 ops/sec @ 288μs/op |
249 | 249 |
|
250 | 250 | # encode of large qr |
251 | | -@paulmillr/qr x 318 ops/sec @ 3ms/op |
| 251 | +@paulmillr/qr x 334 ops/sec @ 2ms/op |
252 | 252 | qrcode-generator x 174 ops/sec @ 5ms/op |
253 | 253 | nuintun x 221 ops/sec @ 4ms/op |
254 | 254 |
|
255 | 255 | # decode |
256 | | -@paulmillr/qr x 162 ops/sec @ 6ms/op ± 3.78% (5ms..16ms) |
257 | | -jsqr x 50 ops/sec @ 19ms/op ± 5.44% (18ms..35ms) |
258 | | -nuintun x 49 ops/sec @ 20ms/op ± 5.08% (18ms..36ms) |
| 256 | +@paulmillr/qr x 662 ops/sec @ 1ms/op |
| 257 | +jsqr x 50 ops/sec @ 19ms/op |
| 258 | +nuintun x 49 ops/sec @ 20ms/op |
259 | 259 | instascan x 128 ops/sec @ 7ms/op ± 31.44% (4ms..166ms) |
260 | 260 | ``` |
261 | 261 |
|
|
0 commit comments