| | 23 | == `bigtable` benchmark == |
| | 24 | |
| | 25 | The [source:/trunk/examples/bench/bigtable.py bigtable.py] benchmark renders a large HTML table (with 1000 rows and 10 columns) in two nested loops, where each cell contains a variable reference. This basically measures the raw throughput of the template engine, while not using any advanced features. |
| | 26 | |
| | 27 | || '''Template Engine''' || '''Rendering time (less is better)''' || '''Notes''' || |
| | 28 | || Markup || 882 ms || || |
| | 29 | || Markup + Speedups || 644 ms || [source:/branches/experimental/speedups Experimental Markup branch] that implements some core portions in C. || |
| | 30 | || [http://kid-templating.org/ Kid] || 948 ms || || |
| | 31 | || [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. || |
| | 32 | || [http://effbot.org/zone/celementtree.htm cElementTree] || 202 ms || ''Not a template engine'': the benchmark simply constructs the XML tree in memory and serializes it. || |
| | 33 | || [http://www.clearsilver.net/ Clearsilver] || 0.73 ms || || |
| | 34 | |