Baxi, Rinil Rushabh
2013-06-13 09:07:04 UTC
Hi All,
I have 2 Xerces-C++ libraries available on my platform (2.4 and 3.1). Both are built without threads. I am trying to compare performance of both of them. To compare performance I am using different sized xml files to parse using the samples (1kb, 65kb, 256Kb, 1Mb, 2Mb, 5Mb and 15Mb). I have put each sample in a script and run the same sample 1000 times to compare the parsing time.
We observed that till 1Mb xml file size performance of Xerces-C++ 3.1 is better after that it starts deteriorating. With 15Mb xml file 3.1 sample takes almost 30% more time than with 2.4 same sample.
Please let me know whether this is the right method to measure performance or not. If no then how can we measure that. One more question is Why such performance degradation?
Thanks in advance.
Best Regards,
Rinil
I have 2 Xerces-C++ libraries available on my platform (2.4 and 3.1). Both are built without threads. I am trying to compare performance of both of them. To compare performance I am using different sized xml files to parse using the samples (1kb, 65kb, 256Kb, 1Mb, 2Mb, 5Mb and 15Mb). I have put each sample in a script and run the same sample 1000 times to compare the parsing time.
We observed that till 1Mb xml file size performance of Xerces-C++ 3.1 is better after that it starts deteriorating. With 15Mb xml file 3.1 sample takes almost 30% more time than with 2.4 same sample.
Please let me know whether this is the right method to measure performance or not. If no then how can we measure that. One more question is Why such performance degradation?
Thanks in advance.
Best Regards,
Rinil