SAX parser performance tuning
807589Sep 10 2008 — edited Sep 10 2008Hi
I am currently in the process of implementing a SAX parser based java module to process large XML files (about 60 MB each) . My module is to replace a Perl program which used to load the entire file into memory and process the file by using regex matches. The Perl implementation is about 3 to 4 times faster than my implementation, therefore not currently satisfied with the performance. I profiled my implementation (using JIP) and it points to the SAX parser as the main bottleneck.
I would like to know if you guys have any performance tuning hints for SAX or any other API that you think might perform better.
Thanks