node . --markdown | tee README.md
Simple XML to JavaScript object converter using node-expat by @Poetro
x2je
(1): 355 ms
x2je
(2): 340 ms
x2je
(3): 303 ms
x2je
(4): 324 ms
x2je
(5): 352 ms
x2je
(6): 309 ms
x2je
(7): 310 ms
x2je
(8): 321 ms
Average: 327 ms
RapidXML based XML to JSON converter for Node.JS by @damirn
rapidx2j
(1): 146 ms
rapidx2j
(2): 140 ms
rapidx2j
(3): 142 ms
rapidx2j
(4): 142 ms
rapidx2j
(5): 144 ms
rapidx2j
(6): 163 ms
rapidx2j
(7): 145 ms
rapidx2j
(8): 138 ms
Average: 145 ms
XML to JavaScript object converter by @Leonidas-from-XIV
xml2js
(1): 755 ms
xml2js
(2): 723 ms
xml2js
(3): 702 ms
xml2js
(4): 769 ms
xml2js
(5): 693 ms
xml2js
(6): 777 ms
xml2js
(7): 688 ms
xml2js
(8): 673 ms
Average: 722 ms
Converts XML to JSON using node-expat
xml2json
(1): 383 ms
xml2json
(2): 325 ms
xml2json
(3): 336 ms
xml2json
(4): 318 ms
xml2json
(5): 337 ms
xml2json
(6): 338 ms
xml2json
(7): 308 ms
xml2json
(8): 308 ms
Average: 332 ms
nkit C++ library port to Node.js by @eye3
nkit
(1): 171 ms
nkit
(2): 162 ms
nkit
(3): 162 ms
nkit
(4): 162 ms
nkit
(5): 167 ms
nkit
(6): 166 ms
nkit
(7): 166 ms
nkit
(8): 163 ms
Average: 165 ms
name | rank | ms |
---|---|---|
rapidx2j | 1 | 145 ms |
nkit | 2 | 165 ms |
x2je | 3 | 327 ms |
xml2json | 4 | 332 ms |
xml2js | 5 | 722 ms |