ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-xml
perl-xml
New Benchmark LibXSLT against MSXML
by Bart Terryn other posts by this author
Jul 11 2001 9:04PM messages near this date
view in the new Beta List Site
XML::LibXSLT | RE: XML::Simple - how to iterate through records?
Hi,

Here are the results of LibXSLT with the new libxml2-2.4.0 and libxslt-1.0.0.
Many thanks to Randy Kobes for compiling the necessary ppm packages for me.

I have included the old results I obtained on MSXML3, MSXML4 and old version of LibXSLT.
These results are from the previous tests.
The results on LibXSLT new are from a different run (but I included during that run MSXML3 a
nd MSXML4 again and the results I got
were consisted enough to assure me that I was running under similar test circumstances)

There is not always a speed gain when running with the new versions of libxml and libxslt. B
ut overall there is about a 10% speed
gain. And this time the depth test completed without errors.

Here are the results:
(put your screen larger then 110 chars if you want to see the unfolded result)

Test Component   Iter  KB In  KB Out |    MSXML3    |    MSXML4    | LIBXSLT - old  | LIBXSL
T - new
============================================================================================
=========
                                     |   ms KB/s R  |	 ms   KB/s R |     ms KB/s R  |    ms 
 KB/s R
=====================================|==============|=======================================
=========
alphabetize        10    202     157 |  781  229 CO |   922  194 CO|    651   275 CO|   660 
  271 CO
attsets           100    204     231 |  531  409 CO |   721  301 CO|    421   554 CO|   450 
  518 CO
avts              100   2011    1128 | 1763  890 CO |  2073  757 CO|   3134   507 CO|  3415 
  465 CO
axis              100    163       0 |  270    0 ER |   351    0 ER|    110  1085 CO|   110 
 1085 CO
backwards         100    302     150 |  871  259 CO |   951  237 CO|    872   330 CO|   931 
  309 CO
bottles           100    205       0 | 1772    0 ER |  2033    0 ER|   3365   205 CO|  3335 
  207 CO
breadth           100    453     377 |  882  470 CO |  1071  387 CO|    901   362 CO|   851 
  384 CO
brutal            100    424     489 |  971  470 CO |  1192  382 CO|    731   578 CO|   731 
  578 CO
chart             100    333     490 |  991  414 CO |  1172  350 CO|    821   427 CO|   851 
  412 CO
creation           50   1010    1321 | 2273  512 CO |  2594  449 CO|   3455   372 CO|  3194 
  403 CO
current           100     79       0 |  240    0 ER |   260    0 ER|    140   407 CO|   110 
  518 CO
dbonerow           10  19639       0 | 8542    0 ER | 11366    0 ER|   3996  2458 CH|  3756 
 2615 CH
dbtail            100   2015     504 | 1922  655 CO |  2263  556 CO|   2774   453 CO|   901 
 1397 CO
decoy             100   2189       0 | 3425    0 ER |  3985    0 ER|  10164   211 CO|  6830 
  314 CO
depth             100    626     375 | 1020  490 CO |          0 SK|              SK|  1022 
  489 CO
encrypt            10    204     157 |  511  352 CO |   601  300 CO|   1432   142 CO|  1512 
  135 CO
functions         100   2085       0 | 5418    0 ER |  5908    0 ER|  13239   104 CO| 13069 
  106 CO
game              100    369      62 |  391  550 CO |   341  631 CO|    221   971 CO|   190 
 1130 CO
html              100    130       0 |  190    0 ER |   250    0 ER|    120   799 CH|   140 
  685 CH
identity           10   1965    1562 | 3265  540 CO |  4136  426 CO|   2494   805 CO|  2163 
  928 CO
inventory         100    264       0 |  671    0 ER |   741    0 ER|    901   259 CO|   571 
  409 CO
metric            100    210       0 |  480    0 ER |   541    0 ER|    310   461 CO|   211 
  678 CO
number            100    157       0 |  310    0 ER |   340    0 ER|    410   297 NO|   340 
  358 NO
oddtemplate       100     99      10 |  260  209 CO |   301  181 CO|     90   643 CO|    81 
  714 CO
patterns          100   2070       0 | 3045    0 ER |  3605    0 ER|   6340   329 CO|  4106 
  508 CO
prettyprint        10    216     996 | 4306  140 CH |  4697  128 CH|   4937   167 CO|  4867 
  169 CO
priority          100    233      58 |  410  355 CO |   501  290 CO|    240   605 CO|   200 
  726 CO
products          100    271      51 |  401  401 CO |   551  292 CO|    871   186 CO|   691 
  235 CO
queens             10     71       0 | 2464    0 ER |  2644    0 ER|   3215    13 CO|  3254 
   13 CO
reverser          100    223       0 | 1933    0 ER |  2163    0 ER|   2413    73 CO|  2594 
   68 CO
stringsort         10   1966    1562 | 3635  485 CO |  4406  400 CO|   3636   547 CO|  8192 
  242 CO
summarize         100    803      30 |  340 1225 CO |   521  799 CO|    471   884 CO|   470 
  886 CO
total             100    200      43 |  281  431 CO |   280  433 CO|    270   456 CO|   131 
  941 CO
tower              20     71    1381 | 5267  137 CO |  5959  121 CO|  10055    72 CO| 11016 
   65 CO
trend             100    239       0 |15872    0 ER | 17055    0 ER|   5277    21 CO| 20650 
   26 CO
union             100     79      13 |  291  159 CO |   270  171 CO|    221   208 CO|   140 
  329 CO
xpath             100     89      14 |  270  190 CO |   291  176 CO|    150   370 CO|   151 
  367 CO
xslbench1         100    929       0 |  531    0 ER |   611    0 ER|    461  1752 NO|   430 
 1873 NO
xslbench2          20   2942       0 |  902    0 ER |  1131    0 ER|   2844   899 NO|  2143 
 1193 NO
xslbench3          20   2935       0 |  330    0 ER |   370    0 ER|   1362  1088 NO|  1522 
  974 NO
============================================================================================
========
total            1710  13928   10164 |27328  440    | 31117  371   | 110340   235   |102085 
  254

Kind Regards,

Bart
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bart Terryn - Systems Manager - Grafikon
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Steenbruggedijk, 1   8020 Oostkamp - Belgium
phone: +32 50 367200 fax: +32 50 367230
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Life is easy if you know all the answers(Snoopy)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
http://listserv.ActiveState.com/mailman/listinfo/perl-xml

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved