[xml] Thread safety
- From: Jerome Pesenti <jpesenti yahoo com>
- To: xml gnome org
- Subject: [xml] Thread safety
- Date: Thu, 3 Jul 2003 08:57:40 -0700 (PDT)
Turning on thread safety in libxml seems to have a big
perfomance cost when doing XSL transformations.
Here is a typical example:
22ms Using libxml 20507 (--without-threads), libxslt
10030 and libexslt 719
37ms Using libxml 20507 (--with-threads, libxslt 10030
and libexslt 719
30ms Using libxml 20430, libxslt 10024 and libexslt
715
That is a 70% increase in running time (note the nice
30% improvement between 2.4.30/1.2.4 and 2.5.7/1.3.0)
which I can consistenly reproduce with different
XML/XSL.
Is there any way to go around this?
Other question: is --with-threads required for
thread safety when running different transformations
with different XML and XSL and the same global
options?
Thanks for all the good work!
Regards,
Jerome
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]