nodules / xamel

Fast and cozy way to extract data from XML
MIT License
30 stars 5 forks source link

add benchmarks using different sax parsers #8

Closed kaero closed 11 years ago

kaero commented 11 years ago

candidates:

kaero commented 11 years ago

Sanity benchmark has been added for supported backends (sax-js and node-expat for now).

kaero commented 11 years ago

Benchmark compute number of completed xamel.parse calls per second for each supported backend.

$ node ./test/bench/index.js
sax: 2554 ops/sec, 10 test runs
expat: 6321 ops/sec, 10 test runs
done.