Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Efficient scripting - Balisage 2009

Efficient scripting - Balisage 2009

David Lee, Epocrates; Norman Walsh, Mark Logic

Balisage 2009 At the International Symposium on Processing XML Efficiently
Monday, August 10, 2009
Montreal, Canada

The efficiency and performance of individual XML operations such as parsing, processing (XSLT, XQuery) and serialization, and the merits of different in-memory document representations, have been widely discussed. However, real world uses cases often involve many operations orchestrated using a scripting environment. The performance of the scripting environment can often overshadow any performance gains in individual operations. In an exploration of real world scripting, we compare performance of several scripting languages and techniques on a set of typical XML operations such as generation of a table of contents and conditionally accessing non-XML files identified in XML documents. Based on performance results, we suggest best practices for scripting XML processes. Scripting languages compared include DOS Shell (CMD.EXE), Linux Shell (bash), XMLSH, and XProc (calabash). These are run (where possible) on multiple operating systems: Windows XP, Linux, and Mac/OS

See:
http://www.balisage.net
http://www.xmlsh.org/Balisage2009

Posted by David Lee 2009-05-26