Convert Calendar Serialization (reads) from DOM to SAX
GENERAL
TESTING
GENERAL
TESTING
Description
To improve the memory load and performance in Schedule we need to convert from DOM to SAX for the read serializations. This should have approximately a factor of 2 improvement on the memory footprint. Unfortunately the patch hits a number of modules.
Profiling is suggesting that parsing time goes from 3498ms for DOM to 521ms for SAX and memory footprint per request from 7MB to 3.5MB
This was for a single calendar with 250 events loaded into one month.
There is also a unit test that checks operation of the SAX parser.
The technique should be usable in other core services that use BLOB XML storage.
Activity
Ian Boston November 21, 2007 at 4:53 AM
No problems reporting in the last 2 months, verified.
Ian Boston August 13, 2007 at 10:13 AM
Committed and fixed,
Will not close until we know there are no problems.
To improve the memory load and performance in Schedule we need to convert from DOM to SAX for the read serializations. This should have approximately a factor of 2 improvement on the memory footprint. Unfortunately the patch hits a number of modules.
Profiling is suggesting that parsing time goes from 3498ms for DOM to 521ms for SAX
and memory footprint per request from 7MB to 3.5MB
This was for a single calendar with 250 events loaded into one month.
There is also a unit test that checks operation of the SAX parser.
The technique should be usable in other core services that use BLOB XML storage.