Edgewall Software

Changes between Version 20 and Version 21 of GenshiPerformance


Ignore:
Timestamp:
Sep 12, 2006, 12:15:11 PM (18 years ago)
Author:
cmlenz
Comment:

s/Markup/Genshi

Legend:

Unmodified
Added
Removed
Modified
  • GenshiPerformance

    v20 v21  
    1 = Performance of the Markup Template Engine =
     1= Performance of the Genshi Template Engine =
    22
    3 The directory [source:/trunk/examples/bench/ examples/bench] has some very simple benchmarks to compare the performance of Markup to other template engines.
     3The directory [source:/trunk/examples/bench/ examples/bench] has some very simple benchmarks to compare the performance of Genshi to other template engines.
    44
    55  ''It should be noted that text-based template engines generally have a '''lot''' less work to do than XML-based ones, simply because their functionality is limited to processing text as opposed to processing markup.''
     
    1212
    1313|| '''Template Engine''' || '''Rendering time (less is better)''' || '''Notes''' ||
    14 || Markup || 4.05 ms || ||
     14|| Genshi || 4.05 ms || ||
    1515|| [http://www.clearsilver.net/ Clearsilver] || 0.33 ms || !ClearSilver is a text-based template engine written in C. ||
    1616|| [http://www.djangoproject.com/documentation/templates/ Django] || 1.84 ms || Text-based template engine that comes with the [http://www.djangoproject.com/ Django] framework. ||
     
    1818|| [http://www.owlfish.com/software/simpleTAL/ SimpleTAL] || 3.13 ms || Another XML-based template engine written in Python, based on the [http://www.zope.org/ Zope] template engine (TAL). ||
    1919
    20 The test template is rather simple right now and doesn't make much use of the advanced features provided by either Markup or Kid, because then it would be impossible to implement an equivalent template using other template languages.
     20The test template is rather simple right now and doesn't make much use of the advanced features provided by either Genshi or Kid, because then it would be impossible to implement an equivalent template using other template languages.
    2121
    2222== `bigtable` benchmark ==
     
    2525
    2626|| '''Template Engine''' || '''Rendering time (less is better)''' || '''Notes''' ||
    27 || Markup || 661 ms || ||
     27|| Genshi || 661 ms || ||
    2828|| [http://kid-templating.org/ Kid] || 720 ms || ||
    2929|| [http://www.djangoproject.com/documentation/templates/ Django] || 357 ms || ||
     
    3434== Another benchmark ==
    3535
    36 There's another simple benchmark in the Markup repository: [source:/trunk/examples/basic/ examples/basic]. That example is however only implemented for Markup and Kid. Here are the numbers:
     36There's another simple benchmark in the Genshi repository: [source:/trunk/examples/basic/ examples/basic]. That example is however only implemented for Genshi and Kid. Here are the numbers:
    3737
    3838|| '''Template Engine''' || '''Rendering time (less is better)''' || '''Notes''' ||
    39 || Markup || 4.00 ms || ||
     39|| Genshi || 4.00 ms || ||
    4040|| [http://kid-templating.org/ Kid] || 8.93 ms || ||
    4141
    42 I'm not quite sure why the difference between Markup and Kid is so much more drastic in this example compared to the above. It does define more (and slightly more sophisticated) match templates, which would suggest that Markup implements those more efficiently. However, that's just a theory.
     42I'm not quite sure why the difference between Genshi and Kid is so much more drastic in this example compared to the above. It does define more (and slightly more sophisticated) match templates, which would suggest that Markup implements those more efficiently. However, that's just a theory.