[Pkg-javascript-commits] [node-expat] 05/371: README
Jonas Smedegaard
dr at jones.dk
Sun Feb 28 09:59:39 UTC 2016
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository node-expat.
commit 18227be4c7947c2687d0e5a4260a460476aba6b8
Author: Astro <astro at spaceboyz.net>
Date: Sat May 22 15:26:33 2010 +0200
README
---
README.markdown | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/README.markdown b/README.markdown
new file mode 100644
index 0000000..87dd025
--- /dev/null
+++ b/README.markdown
@@ -0,0 +1,18 @@
+# node-expat #
+
+## Motivation ##
+
+You use [node.js](http://github.com/ry/node) for speed? You process
+XML streams? Then you want the fastest XML parser: libexpat!
+
+## Speed ##
+
+A stupid speed test is supplied in `bench.js`. We measure how many
+25-byte elements a SAX parser can process:
+
+* (node-xml)[http://github.com/robrighter/node-xml] (pure JavaScript): 23000 el/s
+* (libxmljs)[http://github.com/polotek/libxmljs] (libxml2 binding): 77000 el/s
+* (node-expat)[http://github.com/astro/node-expat] (libexpat binding, this): 113000 el/s
+
+These numbers were recorded on a Core 2 2400 MHz and may turn out to
+be bullshit, given my few node.js experience.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-expat.git
More information about the Pkg-javascript-commits
mailing list