I noticed that we were creating a DocumentBuilder from scratch every time, so I created a simple DocumentBuilder pool. This saved about 23% on the test case, which is a nice speedup but still leaves us a couple of orders of magnitude slower than SpiderMonkey for this case. git-svn-id: svn://10.0.0.236/trunk@242899 18797224-902f-48f8-a5cc-f745e15eee43