[Mono-list] Extremely poor performance of ODFConverter/Mono on Linux vs Windows .Net

RomanP R_PR at tut.by
Thu Oct 15 10:05:03 EDT 2009

I re-submitted this message because it was not resent to mono-list...

I compiled ODFConverter on Linux from sources taken from
Performance of resulting executable is the same as for Windows version that
runs on Mono.

The significant difference is in the environment where to run conversion.
Windows version of OdfConverter.exe takes about 4 sec to do following
OdfConverter.exe /I Handboek_OOo2Writer_NL.odt
and command
"D:\Program Files\Mono-\bin\mono.exe" OdfConverter.exe /I
takes 49 sec!

More than 10 times performance degradation!

Profiling with
"D:\Program Files\Mono-\bin\mono.exe" --profile OdfConverter.exe /I
shows that the most time consuming operations are:
- Mono.Xml.Xsl.Operations.XslTemplateContent::Evaluate
- Mono.Xml.Xsl.XslTemplate::Evaluate
- Mono.Xml.Xsl.XslTemplate::EvaluateCore
- Mono.Xml.Xsl.XslTransformProcessor::ApplyTemplates
- Mono.Xml.Xsl.Operations.XslLiteralElement::Evaluate

Why Mono is 10 times worse in XSLT operations? They already promised the
patch that will fix this performace gap. I am waiting for it with great

View this message in context: http://www.nabble.com/Extremely-poor-performance-of-ODFConverter-Mono-on-Linux-vs-Windows-.Net-tp25229442p25327155.html
Sent from the Mono - General mailing list archive at Nabble.com.

More information about the Mono-list mailing list