annotate examples/bench/kid/base.kid @ 930:0ec0a695ec96

Merge r1138 from py3k: add python 3 support to _speedups C extension
author hodgestar
date Fri, 18 Mar 2011 09:04:14 +0000
parents e9a3930f8823
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 <html xmlns="http://www.w3.org/1999/xhtml"
b387cf24d329 Add some simple benchmarks to compare performance against Clearsilver, Kid, Cheetah, and more soon.
cmlenz
parents:
diff changeset
2 xmlns:py="http://purl.org/kid/ns#">
69
e9a3930f8823 A couple of minor performance improvements.
cmlenz
parents: 57
diff changeset
3
e9a3930f8823 A couple of minor performance improvements.
cmlenz
parents: 57
diff changeset
4 <p py:def="greeting(name)">
e9a3930f8823 A couple of minor performance improvements.
cmlenz
parents: 57
diff changeset
5 Hello, ${name}!
e9a3930f8823 A couple of minor performance improvements.
cmlenz
parents: 57
diff changeset
6 </p>
e9a3930f8823 A couple of minor performance improvements.
cmlenz
parents: 57
diff changeset
7
e9a3930f8823 A couple of minor performance improvements.
cmlenz
parents: 57
diff changeset
8 <body py:match="item.tag == '{http://www.w3.org/1999/xhtml}body'" py:strip="">
e9a3930f8823 A couple of minor performance improvements.
cmlenz
parents: 57
diff changeset
9 <div id="header">
e9a3930f8823 A couple of minor performance improvements.
cmlenz
parents: 57
diff changeset
10 <h1>${title}</h1>
e9a3930f8823 A couple of minor performance improvements.
cmlenz
parents: 57
diff changeset
11 </div>
e9a3930f8823 A couple of minor performance improvements.
cmlenz
parents: 57
diff changeset
12 ${item}
e9a3930f8823 A couple of minor performance improvements.
cmlenz
parents: 57
diff changeset
13 <div id="footer" />
e9a3930f8823 A couple of minor performance improvements.
cmlenz
parents: 57
diff changeset
14 </body>
57
b387cf24d329 Add some simple benchmarks to compare performance against Clearsilver, Kid, Cheetah, and more soon.
cmlenz
parents:
diff changeset
15 </html>
Copyright (C) 2012-2017 Edgewall Software