[ 
https://issues.apache.org/jira/browse/DOXIA-60?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17691784#comment-17691784
 ] 

Guillaume Nodet commented on DOXIA-60:
--------------------------------------

Pushed a perf test at 
https://github.com/codehaus-plexus/plexus-utils/commit/d6b8af923691fc232eec21fa974d55946fac1f61

The output is the following:
{code}
Benchmark                             Mode  Cnt   Score   Error   Units
MXParserPerfTest2.benchmarkAalto     thrpt    3  22.599 ± 6.933  ops/ms
MXParserPerfTest2.benchmarkMxParser  thrpt    3  50.814 ± 7.801  ops/ms
{code}

The MXParser is twice as fast as the Aalto one. It has limited features 
compared to Aalto, but I would not trade the performances unless there are good 
reasons to do so.

> Use an external XML Pull parser instead of plexus one
> -----------------------------------------------------
>
>                 Key: DOXIA-60
>                 URL: https://issues.apache.org/jira/browse/DOXIA-60
>             Project: Maven Doxia
>          Issue Type: Dependency upgrade
>          Components: Core
>            Reporter: Carlos Sanchez Gonzalez
>            Priority: Major
>              Labels: intern
>
> To avoid maintaining the plexus XMLPullParser we should move to a standard 
> implementation like Codehaus StaX http://stax.codehaus.org
> {code:xml}    <dependency>
>       <groupId>stax</groupId>
>       <artifactId>stax</artifactId>
>       <version>1.2.0_rc2-dev</version>
>     </dependency>{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to