-
Notifications
You must be signed in to change notification settings - Fork 305
Benchmark Results
metafloor edited this page Apr 28, 2021
·
9 revisions
This page presents the benchmark results for various releases of bwip-js. New results will be posted when significant changes have been made to the cross-compiler, optimization passes, or the postscript emulation library.
All runs performed on the same machine.
- Versions pre 2.0 benchmarked using Node.js v7.5.0.
- Version 2.0+ benchmarked using nodejs v10.21.0.
- Version 3.0+ benchmarked using nodejs v14.16.1.
PC is an Intel i7-3610QM @ 2.3GHz with 16GB RAM.
- Slowest to fastest (latest version)
- All times in msecs
Encoder | v0.16 | v1.0 | v1.4 | v1.5 | v2.0 | v2.1 | v3.0 |
---|---|---|---|---|---|---|---|
qrcode | 927 | 71 | 68 | 58 | 54 | 59 | 67 |
hanxin | 479 | 45 | 45 | 39 | 31 | 28 | 34 |
azteccode | 386 | 33 | 33 | 26 | 22 | 23 | 24 |
datamatrix | 245 | 27 | 27 | 19 | 18 | 20 | 20 |
maxicode | N/A | 73 | 73 | 16 | 18 | 18 | 16 |
dotcode | N/A | N/A | N/A | N/A | 11 | 13 | 14 |
gs1-128composite | 181 | 32 | 34 | 15 | 11 | 15 | 13 |
databarexpandedstackedcomposite | 324 | 43 | 42 | 19 | 15 | 16 | 13 |
upcecomposite | 113 | 18 | 18 | 9 | 9 | 11 | 11 |
databarexpandedcomposite | 197 | 32 | 32 | 14 | 13 | 16 | 11 |
databaromnicomposite | 124 | 18 | 19 | 10 | 10 | 12 | 11 |
databarstackedomnicomposite | 194 | 25 | 24 | 14 | 11 | 13 | 11 |
databartruncatedcomposite | 115 | 16 | 16 | 10 | 10 | 13 | 10 |
upcacomposite | 126 | 24 | 25 | 9 | 9 | 11 | 10 |
ean13composite | 146 | 39 | 40 | 11 | 10 | 11 | 10 |
databarlimitedcomposite | 118 | 15 | 14 | 10 | 10 | 12 | 10 |
databarstackedcomposite | 135 | 15 | 16 | 12 | 10 | 13 | 9 |
ean8composite | 119 | 21 | 22 | 10 | 9 | 11 | 9 |
pdf417 | 177 | 26 | 26 | 12 | 9 | 9 | 9 |
databarexpandedstacked | 224 | 28 | 28 | 11 | 6 | 6 | 6 |
databarexpanded | 98 | 20 | 21 | 5 | 5 | 7 | 5 |
ultracode | N/A | N/A | N/A | N/A | 3 | 4 | 3 |
onecode | 48 | 5 | 6 | 3 | 2 | 3 | 2 |
sscc18 | 56 | 37 | 38 | 3 | 3 | 2 | 2 |
databarstackedomni | 100 | 11 | 11 | 5 | 2 | 2 | 2 |
databarstacked | 30 | 4 | 3 | 2 | 2 | 2 | 1 |
databartruncated | 14 | 4 | 5 | 1 | 1 | 2 | 1 |
databarlimited | 26 | 3 | 4 | 2 | 2 | 2 | 1 |
databaromni | 30 | 8 | 7 | 2 | 1 | 2 | 1 |
code128 | 55 | 28 | 30 | 3 | 2 | 2 | 1 |
ean13 | 48 | 16 | 17 | 2 | 1 | 1 | 1 |
upce | 20 | 9 | 9 | 1 | 1 | 1 | 1 |
itf14 | 35 | 18 | 18 | 1 | 1 | 1 | 1 |
upca | 32 | 21 | 22 | 1 | 1 | 1 | 1 |
japanpost | 22 | 5 | 5 | 2 | 1 | 1 | 1 |
ean8 | 26 | 14 | 15 | 1 | 1 | 1 | 1 |
code93 | 40 | 16 | 16 | 1 | 1 | 1 | 1 |
royalmail | 17 | 3 | 3 | 2 | 1 | 1 | 1 |
code39 | 59 | 43 | 44 | 2 | 1 | 1 | 0 |
planet | 17 | 4 | 4 | 1 | 1 | 1 | 0 |
postnet | 14 | 3 | 3 | 1 | 1 | 1 | 0 |