[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
http://download.go-oo.org/tstnvl/odf-converter/RPMS/i586/odf-converter-3.0-6.src.rpm.
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
command:
OdfConverter.exe /I Handboek_OOo2Writer_NL.odt
and command
"D:\Program Files\Mono-2.4.2.3\bin\mono.exe" OdfConverter.exe /I
Handboek_OOo2Writer_NL.odt
takes 49 sec!

More than 10 times performance degradation!

Profiling with
"D:\Program Files\Mono-2.4.2.3\bin\mono.exe" --profile OdfConverter.exe /I
Handboek_OOo2Writer_NL.odt
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
hope!

Regards,
Roman
-- 
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