Curious benchmarking results 2003-01-24 - By Dr. Robert Spiske
At 09:19 24.01.2003 -0500, you wrote: >no comments anyone? I would like to know if my results make sense...
Ok, i'll try one.
We expect that the validation takes time, so using validation should take longer, as we see. Since you need to read the DTD/XSD to resolve the entities, the memory for the DTD is needed anyway. Savin no memory there. It is a basic optimisation principle that performance and memory consumption correlate. So reducing the memory usage will result in lower performance or better performance can be reached if you use more memory (e.g. by caching). We see that with your results too. So there is nothing confusing about it.
I guess, the different behavior could have something to do with using DOM or SAX for validation. Hope that helps Robert
--------------------------------------------------------------------- To unsubscribe, e-mail: xerces-j-user-unsubscribe@(protected) For additional commands, e-mail: xerces-j-user-help@(protected)
|
|