Edgewall Software

Changes between Version 3 and Version 4 of GenshiPerformance


Ignore:
Timestamp:
Jul 10, 2006, 7:45:05 PM (18 years ago)
Author:
cmlenz
Comment:

New numbers

Legend:

Unmodified
Added
Removed
Modified
  • GenshiPerformance

    v3 v4  
    33The directory [source:/trunk/examples/bench/ examples/bench] has some very simple benchmarks to compare the performance of Markup to other template engines.
    44
    5 Current results:
    6 || markup || 3.951ms ||
    7 || kid || 5.171ms ||
    8 || clearsilver || 0.435ms ||
     5  ''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.''
    96
    10 The test template is extremely simple right now and doesn't make use of the advanced features provided by either Markup or Kid (such as match templates).
     7== Current results ==
     8
     9|| '''Template Engine''' || '''Rendering time (less is better)''' || '''Notes''' ||
     10|| Markup || 5.10 ms || ||
     11|| [http://kid.lesscode.org/ Kid] || 5.61 ms || Kid templates are compiled to Python byte-code. The Python implementation of !ElementTree was used for this test. ||
     12|| [http://www.clearsilver.net/ Clearsilver] || 0.31 ms || !ClearSilver is a text-based template engine written in C. ||
     13
     14The 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.