Changes between Version 25 and Version 26 of GenshiPerformance
- Timestamp:
- Jan 17, 2007, 12:31:08 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GenshiPerformance
v25 v26 12 12 13 13 || '''Template Engine''' || '''Rendering time (less is better)''' || '''Notes''' || 14 || Genshi || 4.05 ms || ||14 || Genshi || 3.95 ms || || 15 15 || [http://www.clearsilver.net/ Clearsilver] || 0.33 ms || !ClearSilver is a text-based template engine written in C. || 16 16 || [http://www.djangoproject.com/documentation/templates/ Django] || 1.84 ms || Text-based template engine that comes with the [http://www.djangoproject.com/ Django] framework. || 17 || [http://kid-templating.org/ Kid] || 5.12ms || Kid templates are compiled to Python byte-code. The cElementTree implementation was used for this test, although using the Python implementation doesn't appear to make a significant difference. ||17 || [http://kid-templating.org/ Kid] || 6.66 ms || Kid templates are compiled to Python byte-code. The cElementTree implementation was used for this test, although using the Python implementation doesn't appear to make a significant difference. || 18 18 || [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). || 19 19 … … 25 25 26 26 || '''Template Engine''' || '''Rendering time (less is better)''' || '''Notes''' || 27 || Genshi || 661ms || ||28 || [http://kid-templating.org/ Kid] || 720ms || ||27 || Genshi || 510 ms || || 28 || [http://kid-templating.org/ Kid] || 1212 ms || || 29 29 || [http://www.djangoproject.com/documentation/templates/ Django] || 357 ms || || 30 30 || [http://effbot.org/zone/element-index.htm ElementTree] || 329 ms || ''Not a template engine'': the benchmark simply constructs the XML tree in memory and serializes it. || … … 39 39 40 40 || '''Template Engine''' || '''Rendering time (less is better)''' || '''Notes''' || 41 || Genshi || 4.00ms || ||42 || [http://kid-templating.org/ Kid] || 8.93ms || ||41 || Genshi || 3.17 ms || || 42 || [http://kid-templating.org/ Kid] || 7.89 ms || || 43 43 44 44 I'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 Genshi implements those more efficiently. However, that's just a hypothesis.