Mercurial > genshi > genshi-test
comparison examples/bench/clearsilver/template.cs @ 57:b387cf24d329
Add some simple benchmarks to compare performance against Clearsilver, Kid, Cheetah, and more soon.
author | cmlenz |
---|---|
date | Tue, 04 Jul 2006 18:19:22 +0000 |
parents | |
children | e9a3930f8823 |
comparison
equal
deleted
inserted
replaced
56:950f75b72a1e | 57:b387cf24d329 |
---|---|
1 <!DOCTYPE html | |
2 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | |
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
4 <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> | |
5 <head> | |
6 <title><?cs var:title ?></title> | |
7 </head> | |
8 <body> | |
9 <?cs include:"header.cs" ?> | |
10 | |
11 <h2>Loop</h2> | |
12 <?cs if:len(items) ?> | |
13 <ul> | |
14 <?cs each:item = items ?> | |
15 <li><?cs var:item ?></li> | |
16 <?cs /each ?> | |
17 </ul> | |
18 <?cs /if ?> | |
19 | |
20 <?cs include:"footer.cs" ?> | |
21 </body> | |
22 </html> |