Curious benchmarking results 2003-01-27 - By Jan Les
I would like to benchmark Xerces with "defer-node-expansion" feature switched off. How can I do this? Should I just set it as a attribute on DocumnetBuilderFactory? Is there a list of all Xerces attributes? Is there an information what values attrributes can take? I would appreciate if you could point me to the right info.
-----Original Message----- From: Jan Les Sent: Tuesday, 28 January 2003 10:46 AM To: xerces-j-user@(protected) Subject: RE: Curious benchmarking results
What interface allows to change "defer-node-expansion" feature?
-----Original Message----- From: Eric_Schwarzenbach@(protected) [mailto:Eric_Schwarzenbach@(protected)] Sent: Saturday, 25 January 2003 2:34 AM To: routar@(protected) Cc: xerces-j-user@(protected) Subject: RE: Curious benchmarking results
You might look at a few of the benchmark results people have published, such as:
http://sosnoski.com/opensrc/xmlbench/index.html
http://piccolo.sourceforge.net/bench.html
Also remember that for small to medium documents, the "defer-node-expansion" feature slows Xerces performance significantly--and this feature is ON by default.
|---------+----------------------------> | | "Rob Outar" | | | <routar@(protected)| | | o.org> | | | | | | 01/24/2003 09:19 | | | AM | | | Please respond to| | | xerces-j-user | | | | |---------+----------------------------> >---------------------------------------------------------------------------- --------------------------------------------------| | | | To: <xerces-j-user@(protected)> | | cc: | | Subject: RE: Curious benchmarking results | >---------------------------------------------------------------------------- --------------------------------------------------|
no comments anyone? I would like to know if my results make sense...
Thanks,
Rob -----Original Message----- From: Rob Outar [mailto:routar@(protected)] Sent: Thursday, January 23, 2003 10:20 AM To: xerces-j-user@(protected) Subject: Curious benchmarking results
I recently used JProbe to do some benchmarking using Xerces 2, the results I got were sort of confusing.
Results:
Description Parsing time Memory usage
|----------------------------+---------------+---------------------| | Description | Parsing Time | Memory Usage | |----------------------------+---------------+---------------------| |Xerces 1.4.3 | | 14879 kilobytes | |Validation and Namespace | 1:40 | (14.5 megabytes) | |turned off | | | |----------------------------+---------------+---------------------| |Xerces 1.4.3 | | 34138 kilobytes | |Validation and Namespace | 2:56 | (33.3 megabytes) | |turned on | | | |----------------------------+---------------+---------------------| |Xerces 2 | | 13987 kilobytes | |Validation and Namespace | 1:48 | (13.6 megabytes) | |turned off | | | |----------------------------+---------------+---------------------| |Xerces 2 | | 14028 kilobytes | |Validation and Namespace | 3:20 | (13.7 megabytes) | |turned on | | | |----------------------------+---------------+---------------------|
There was not much memory difference with validation and namespaces on/off for Xerces 2. What I did notice is when validation and namespaces were on for Xerces 2, the garbage collector was invoked MANY, MANY, MANY, times.. this accounted for the low memory usage. Do these results seem valid?
Let me know your thoughts,
Rob
--------------------------------------------------------------------- To unsubscribe, e-mail: xerces-j-user-unsubscribe@(protected) For additional commands, e-mail: xerces-j-user-help@(protected)
--------------------------------------------------------------------- To unsubscribe, e-mail: xerces-j-user-unsubscribe@(protected) For additional commands, e-mail: xerces-j-user-help@(protected)
--------------------------------------------------------------------- To unsubscribe, e-mail: xerces-j-user-unsubscribe@(protected) For additional commands, e-mail: xerces-j-user-help@(protected)
|
|