[xslt] Xalan vs libxslt report



Hi,

these are the results of my first test comparing Apache Xalan Trasformer Vs Libxslt.

I have written an apache module which uses libxml2 for building a XML file and then
it trasforms it with a xslt trasformer engine. The two choices for xlst trasformer engine are:
Apache xalan and libxslt.

System configuration:

- Machine = HP Netserver

- Cpu: 

vendor_id       : GenuineIntel
cpu family      : 6
model           : 8
model name      : Pentium III (Coppermine)
stepping        : 6
cpu MHz         : 866.757
cache size      : 256 KB

- Os = Linux version 2.4.2-2 (gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-79))

- Ram = 1 GB

- Libxml2: 2.4.30

- Libxslt: 1.0.23

- Xerces 2.1.0

- Xalan 1.4.0

- Apache 1.3.27

I have made 50, 90, 140, 185 queries in 1 minute.

These are the result

Xalan:

<------  AVG TASK CALCULATION  ------>
      tot           ok            break      AVG          %break
      ---           --            -----      ---          ------
       50            48             2        0.853       0.04
       90            89             1        0.854       0.01
      140           137             3        1.469       0.02
      185           182             3        1.853       0.02



Libxslt

  <------  AVG TASK CALCULATION  ------>
      tot           ok            break      AVG          %break
      ---           --            -----      ---          ------
       50            50             0        0.549       0.00
       90            90             0        0.629       0.00
      140           140             0        0.770       0.00
      185           185             0        0.845       0.00


Well these are my opinions:

- Libxslt is much more robust (break is always 0.00).

- Libxslt is faster than Xalan: as the queries grow, the responce time difference is relevant.

I suppose that my choice will be libxslt.


Any suggestions?

Bye

--Marco 

-----------------------------------------------------

Salve, il messaggio che hai ricevuto
è stato inviato per mezzo del sistema
di web mail interfree. Se anche tu vuoi 
una casella di posta free visita il
sito http://club.interfree.it
Ti aspettiamo!

-----------------------------------------------------





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]