annotate examples/bench/clearsilver/template.cs @ 938:a5a1c9a11135 tip

update tags
author convert-repo
date Tue, 31 May 2011 20:05:15 +0000
parents 37f128d2d7f4
children
rev   line source
57
b387cf24d329 Add some simple benchmarks to compare performance against Clearsilver, Kid, Cheetah, and more soon.
cmlenz
parents:
diff changeset
1 <!DOCTYPE html
b387cf24d329 Add some simple benchmarks to compare performance against Clearsilver, Kid, Cheetah, and more soon.
cmlenz
parents:
diff changeset
2 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
b387cf24d329 Add some simple benchmarks to compare performance against Clearsilver, Kid, Cheetah, and more soon.
cmlenz
parents:
diff changeset
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
b387cf24d329 Add some simple benchmarks to compare performance against Clearsilver, Kid, Cheetah, and more soon.
cmlenz
parents:
diff changeset
4 <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
b387cf24d329 Add some simple benchmarks to compare performance against Clearsilver, Kid, Cheetah, and more soon.
cmlenz
parents:
diff changeset
5 <head>
b387cf24d329 Add some simple benchmarks to compare performance against Clearsilver, Kid, Cheetah, and more soon.
cmlenz
parents:
diff changeset
6 <title><?cs var:title ?></title>
b387cf24d329 Add some simple benchmarks to compare performance against Clearsilver, Kid, Cheetah, and more soon.
cmlenz
parents:
diff changeset
7 </head>
b387cf24d329 Add some simple benchmarks to compare performance against Clearsilver, Kid, Cheetah, and more soon.
cmlenz
parents:
diff changeset
8 <body>
b387cf24d329 Add some simple benchmarks to compare performance against Clearsilver, Kid, Cheetah, and more soon.
cmlenz
parents:
diff changeset
9 <?cs include:"header.cs" ?>
76
37f128d2d7f4 Add Django to the benchmark.
cmlenz
parents: 69
diff changeset
10 <?cs call:greeting(user) ?>
69
e9a3930f8823 A couple of minor performance improvements.
cmlenz
parents: 57
diff changeset
11 <?cs call:greeting('me') ?>
76
37f128d2d7f4 Add Django to the benchmark.
cmlenz
parents: 69
diff changeset
12 <?cs call:greeting('world') ?>
57
b387cf24d329 Add some simple benchmarks to compare performance against Clearsilver, Kid, Cheetah, and more soon.
cmlenz
parents:
diff changeset
13
b387cf24d329 Add some simple benchmarks to compare performance against Clearsilver, Kid, Cheetah, and more soon.
cmlenz
parents:
diff changeset
14 <h2>Loop</h2>
b387cf24d329 Add some simple benchmarks to compare performance against Clearsilver, Kid, Cheetah, and more soon.
cmlenz
parents:
diff changeset
15 <?cs if:len(items) ?>
b387cf24d329 Add some simple benchmarks to compare performance against Clearsilver, Kid, Cheetah, and more soon.
cmlenz
parents:
diff changeset
16 <ul>
b387cf24d329 Add some simple benchmarks to compare performance against Clearsilver, Kid, Cheetah, and more soon.
cmlenz
parents:
diff changeset
17 <?cs each:item = items ?>
69
e9a3930f8823 A couple of minor performance improvements.
cmlenz
parents: 57
diff changeset
18 <li<?cs if:name(item) == len(items) ?> class="last"<?cs /if ?>><?cs var:item ?></li>
57
b387cf24d329 Add some simple benchmarks to compare performance against Clearsilver, Kid, Cheetah, and more soon.
cmlenz
parents:
diff changeset
19 <?cs /each ?>
b387cf24d329 Add some simple benchmarks to compare performance against Clearsilver, Kid, Cheetah, and more soon.
cmlenz
parents:
diff changeset
20 </ul>
b387cf24d329 Add some simple benchmarks to compare performance against Clearsilver, Kid, Cheetah, and more soon.
cmlenz
parents:
diff changeset
21 <?cs /if ?>
b387cf24d329 Add some simple benchmarks to compare performance against Clearsilver, Kid, Cheetah, and more soon.
cmlenz
parents:
diff changeset
22
b387cf24d329 Add some simple benchmarks to compare performance against Clearsilver, Kid, Cheetah, and more soon.
cmlenz
parents:
diff changeset
23 <?cs include:"footer.cs" ?>
b387cf24d329 Add some simple benchmarks to compare performance against Clearsilver, Kid, Cheetah, and more soon.
cmlenz
parents:
diff changeset
24 </body>
b387cf24d329 Add some simple benchmarks to compare performance against Clearsilver, Kid, Cheetah, and more soon.
cmlenz
parents:
diff changeset
25 </html>
Copyright (C) 2012-2017 Edgewall Software