Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
4cffef54
Commit
4cffef54
authored
Jun 14, 2001
by
Evan Simpson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Benchmarks.
parent
604de1df
Changes
25
Hide whitespace changes
Inline
Side-by-side
Showing
25 changed files
with
1150 additions
and
0 deletions
+1150
-0
lib/python/TAL/benchmark/dtml01.html
lib/python/TAL/benchmark/dtml01.html
+1
-0
lib/python/TAL/benchmark/dtml02.html
lib/python/TAL/benchmark/dtml02.html
+100
-0
lib/python/TAL/benchmark/dtml03.html
lib/python/TAL/benchmark/dtml03.html
+8
-0
lib/python/TAL/benchmark/dtml04.html
lib/python/TAL/benchmark/dtml04.html
+6
-0
lib/python/TAL/benchmark/dtml05.html
lib/python/TAL/benchmark/dtml05.html
+10
-0
lib/python/TAL/benchmark/dtml06.html
lib/python/TAL/benchmark/dtml06.html
+14
-0
lib/python/TAL/benchmark/dtml07.html
lib/python/TAL/benchmark/dtml07.html
+73
-0
lib/python/TAL/benchmark/dtml08.html
lib/python/TAL/benchmark/dtml08.html
+73
-0
lib/python/TAL/benchmark/dtml09.html
lib/python/TAL/benchmark/dtml09.html
+10
-0
lib/python/TAL/benchmark/dtml10.html
lib/python/TAL/benchmark/dtml10.html
+102
-0
lib/python/TAL/benchmark/dtml11.html
lib/python/TAL/benchmark/dtml11.html
+103
-0
lib/python/TAL/benchmark/dtml12.html
lib/python/TAL/benchmark/dtml12.html
+12
-0
lib/python/TAL/benchmark/tal01.html
lib/python/TAL/benchmark/tal01.html
+1
-0
lib/python/TAL/benchmark/tal02.html
lib/python/TAL/benchmark/tal02.html
+100
-0
lib/python/TAL/benchmark/tal03.html
lib/python/TAL/benchmark/tal03.html
+8
-0
lib/python/TAL/benchmark/tal04.html
lib/python/TAL/benchmark/tal04.html
+6
-0
lib/python/TAL/benchmark/tal05.html
lib/python/TAL/benchmark/tal05.html
+10
-0
lib/python/TAL/benchmark/tal06.html
lib/python/TAL/benchmark/tal06.html
+14
-0
lib/python/TAL/benchmark/tal07.html
lib/python/TAL/benchmark/tal07.html
+73
-0
lib/python/TAL/benchmark/tal08.html
lib/python/TAL/benchmark/tal08.html
+73
-0
lib/python/TAL/benchmark/tal09.html
lib/python/TAL/benchmark/tal09.html
+10
-0
lib/python/TAL/benchmark/tal10.html
lib/python/TAL/benchmark/tal10.html
+102
-0
lib/python/TAL/benchmark/tal11.html
lib/python/TAL/benchmark/tal11.html
+103
-0
lib/python/TAL/benchmark/tal12.html
lib/python/TAL/benchmark/tal12.html
+12
-0
lib/python/TAL/markbench.py
lib/python/TAL/markbench.py
+126
-0
No files found.
lib/python/TAL/benchmark/dtml01.html
0 → 100644
View file @
4cffef54
baseline
lib/python/TAL/benchmark/dtml02.html
0 → 100644
View file @
4cffef54
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
lib/python/TAL/benchmark/dtml03.html
0 → 100644
View file @
4cffef54
<td
bgcolor=
"white"
>
&dtml-x0;
</td>
<td
bgcolor=
"white"
>
&dtml-x1;
</td>
<td
bgcolor=
"white"
>
&dtml-x2;
</td>
<td
bgcolor=
"white"
>
&dtml-x3;
</td>
<td
bgcolor=
"white"
>
&dtml-x4;
</td>
<td
bgcolor=
"white"
>
&dtml-x5;
</td>
<td
bgcolor=
"white"
>
&dtml-x6;
</td>
<td
bgcolor=
"white"
>
&dtml-x7;
</td>
lib/python/TAL/benchmark/dtml04.html
0 → 100644
View file @
4cffef54
<dtml-in
r8
>
<td
bgcolor=
"white"
>
&dtml-x0;
</td>
<td
bgcolor=
"white"
>
&dtml-x1;
</td>
<td
bgcolor=
"white"
>
&dtml-x2;
</td>
<td
bgcolor=
"white"
>
&dtml-x3;
</td>
</dtml-in>
lib/python/TAL/benchmark/dtml05.html
0 → 100644
View file @
4cffef54
<dtml-in
r8
>
<td
bgcolor=
"white"
>
&dtml-x0;
</td>
<td
bgcolor=
"white"
>
&dtml-x1;
</td>
<td
bgcolor=
"white"
>
&dtml-x2;
</td>
<td
bgcolor=
"white"
>
&dtml-x3;
</td>
<td
bgcolor=
"white"
>
&dtml-x4;
</td>
<td
bgcolor=
"white"
>
&dtml-x5;
</td>
<td
bgcolor=
"white"
>
&dtml-x6;
</td>
<td
bgcolor=
"white"
>
&dtml-x7;
</td>
</dtml-in>
lib/python/TAL/benchmark/dtml06.html
0 → 100644
View file @
4cffef54
<dtml-in
r2
>
<dtml-in
r2
>
<dtml-in
r2
>
<td
bgcolor=
"white"
>
&dtml-x0;
</td>
<td
bgcolor=
"white"
>
&dtml-x1;
</td>
<td
bgcolor=
"white"
>
&dtml-x2;
</td>
<td
bgcolor=
"white"
>
&dtml-x3;
</td>
<td
bgcolor=
"white"
>
&dtml-x4;
</td>
<td
bgcolor=
"white"
>
&dtml-x5;
</td>
<td
bgcolor=
"white"
>
&dtml-x6;
</td>
<td
bgcolor=
"white"
>
&dtml-x7;
</td>
</dtml-in>
</dtml-in>
</dtml-in>
lib/python/TAL/benchmark/dtml07.html
0 → 100644
View file @
4cffef54
<td
bgcolor=
"white"
>
&dtml-x0;
</td>
<td
bgcolor=
"white"
>
&dtml-x1;
</td>
<td
bgcolor=
"white"
>
&dtml-x2;
</td>
<td
bgcolor=
"white"
>
&dtml-x3;
</td>
<td
bgcolor=
"white"
>
&dtml-x4;
</td>
<td
bgcolor=
"white"
>
&dtml-x5;
</td>
<td
bgcolor=
"white"
>
&dtml-x6;
</td>
<td
bgcolor=
"white"
>
&dtml-x7;
</td>
<td
bgcolor=
"white"
>
&dtml-x0;
</td>
<td
bgcolor=
"white"
>
&dtml-x1;
</td>
<td
bgcolor=
"white"
>
&dtml-x2;
</td>
<td
bgcolor=
"white"
>
&dtml-x3;
</td>
<td
bgcolor=
"white"
>
&dtml-x4;
</td>
<td
bgcolor=
"white"
>
&dtml-x5;
</td>
<td
bgcolor=
"white"
>
&dtml-x6;
</td>
<td
bgcolor=
"white"
>
&dtml-x7;
</td>
<td
bgcolor=
"white"
>
&dtml-x0;
</td>
<td
bgcolor=
"white"
>
&dtml-x1;
</td>
<td
bgcolor=
"white"
>
&dtml-x2;
</td>
<td
bgcolor=
"white"
>
&dtml-x3;
</td>
<td
bgcolor=
"white"
>
&dtml-x4;
</td>
<td
bgcolor=
"white"
>
&dtml-x5;
</td>
<td
bgcolor=
"white"
>
&dtml-x6;
</td>
<td
bgcolor=
"white"
>
&dtml-x7;
</td>
<td
bgcolor=
"white"
>
&dtml-x0;
</td>
<td
bgcolor=
"white"
>
&dtml-x1;
</td>
<td
bgcolor=
"white"
>
&dtml-x2;
</td>
<td
bgcolor=
"white"
>
&dtml-x3;
</td>
<td
bgcolor=
"white"
>
&dtml-x4;
</td>
<td
bgcolor=
"white"
>
&dtml-x5;
</td>
<td
bgcolor=
"white"
>
&dtml-x6;
</td>
<td
bgcolor=
"white"
>
&dtml-x7;
</td>
<td
bgcolor=
"white"
>
&dtml-x0;
</td>
<td
bgcolor=
"white"
>
&dtml-x1;
</td>
<td
bgcolor=
"white"
>
&dtml-x2;
</td>
<td
bgcolor=
"white"
>
&dtml-x3;
</td>
<td
bgcolor=
"white"
>
&dtml-x4;
</td>
<td
bgcolor=
"white"
>
&dtml-x5;
</td>
<td
bgcolor=
"white"
>
&dtml-x6;
</td>
<td
bgcolor=
"white"
>
&dtml-x7;
</td>
<td
bgcolor=
"white"
>
&dtml-x0;
</td>
<td
bgcolor=
"white"
>
&dtml-x1;
</td>
<td
bgcolor=
"white"
>
&dtml-x2;
</td>
<td
bgcolor=
"white"
>
&dtml-x3;
</td>
<td
bgcolor=
"white"
>
&dtml-x4;
</td>
<td
bgcolor=
"white"
>
&dtml-x5;
</td>
<td
bgcolor=
"white"
>
&dtml-x6;
</td>
<td
bgcolor=
"white"
>
&dtml-x7;
</td>
<td
bgcolor=
"white"
>
&dtml-x0;
</td>
<td
bgcolor=
"white"
>
&dtml-x1;
</td>
<td
bgcolor=
"white"
>
&dtml-x2;
</td>
<td
bgcolor=
"white"
>
&dtml-x3;
</td>
<td
bgcolor=
"white"
>
&dtml-x4;
</td>
<td
bgcolor=
"white"
>
&dtml-x5;
</td>
<td
bgcolor=
"white"
>
&dtml-x6;
</td>
<td
bgcolor=
"white"
>
&dtml-x7;
</td>
<td
bgcolor=
"white"
>
&dtml-x0;
</td>
<td
bgcolor=
"white"
>
&dtml-x1;
</td>
<td
bgcolor=
"white"
>
&dtml-x2;
</td>
<td
bgcolor=
"white"
>
&dtml-x3;
</td>
<td
bgcolor=
"white"
>
&dtml-x4;
</td>
<td
bgcolor=
"white"
>
&dtml-x5;
</td>
<td
bgcolor=
"white"
>
&dtml-x6;
</td>
<td
bgcolor=
"white"
>
&dtml-x7;
</td>
lib/python/TAL/benchmark/dtml08.html
0 → 100644
View file @
4cffef54
<td
bgcolor=
"white"
>
&dtml-x0;
</td>
<td
bgcolor=
"white"
>
&dtml-x1;
</td>
<td
bgcolor=
"white"
>
&dtml-x2;
</td>
<td
bgcolor=
"white"
>
&dtml-x3;
</td>
<td
bgcolor=
"white"
>
&dtml-x4;
</td>
<td
bgcolor=
"white"
>
&dtml-x5;
</td>
<td
bgcolor=
"white"
>
&dtml-x6;
</td>
<td
bgcolor=
"white"
>
&dtml-x7;
</td>
<td
bgcolor=
"white"
>
&dtml-x0;
</td>
<td
bgcolor=
"white"
>
&dtml-x1;
</td>
<td
bgcolor=
"white"
>
&dtml-x2;
</td>
<td
bgcolor=
"white"
>
&dtml-x3;
</td>
<td
bgcolor=
"white"
>
&dtml-x4;
</td>
<td
bgcolor=
"white"
>
&dtml-x5;
</td>
<td
bgcolor=
"white"
>
&dtml-x6;
</td>
<td
bgcolor=
"white"
>
&dtml-x7;
</td>
<td
bgcolor=
"white"
>
&dtml-x0;
</td>
<td
bgcolor=
"white"
>
&dtml-x1;
</td>
<td
bgcolor=
"white"
>
&dtml-x2;
</td>
<td
bgcolor=
"white"
>
&dtml-x3;
</td>
<td
bgcolor=
"white"
>
&dtml-x4;
</td>
<td
bgcolor=
"white"
>
&dtml-x5;
</td>
<td
bgcolor=
"white"
>
&dtml-x6;
</td>
<td
bgcolor=
"white"
>
&dtml-x7;
</td>
<td
bgcolor=
"white"
>
&dtml-x0;
</td>
<td
bgcolor=
"white"
>
&dtml-x1;
</td>
<td
bgcolor=
"white"
>
&dtml-x2;
</td>
<td
bgcolor=
"white"
>
&dtml-x3;
</td>
<td
bgcolor=
"white"
>
&dtml-x4;
</td>
<td
bgcolor=
"white"
>
&dtml-x5;
</td>
<td
bgcolor=
"white"
>
&dtml-x6;
</td>
<td
bgcolor=
"white"
>
&dtml-x7;
</td>
<td
bgcolor=
"white"
>
&dtml-x0;
</td>
<td
bgcolor=
"white"
>
&dtml-x1;
</td>
<td
bgcolor=
"white"
>
&dtml-x2;
</td>
<td
bgcolor=
"white"
>
&dtml-x3;
</td>
<td
bgcolor=
"white"
>
&dtml-x4;
</td>
<td
bgcolor=
"white"
>
&dtml-x5;
</td>
<td
bgcolor=
"white"
>
&dtml-x6;
</td>
<td
bgcolor=
"white"
>
&dtml-x7;
</td>
<td
bgcolor=
"white"
>
&dtml-x0;
</td>
<td
bgcolor=
"white"
>
&dtml-x1;
</td>
<td
bgcolor=
"white"
>
&dtml-x2;
</td>
<td
bgcolor=
"white"
>
&dtml-x3;
</td>
<td
bgcolor=
"white"
>
&dtml-x4;
</td>
<td
bgcolor=
"white"
>
&dtml-x5;
</td>
<td
bgcolor=
"white"
>
&dtml-x6;
</td>
<td
bgcolor=
"white"
>
&dtml-x7;
</td>
<td
bgcolor=
"white"
>
&dtml-x0;
</td>
<td
bgcolor=
"white"
>
&dtml-x1;
</td>
<td
bgcolor=
"white"
>
&dtml-x2;
</td>
<td
bgcolor=
"white"
>
&dtml-x3;
</td>
<td
bgcolor=
"white"
>
&dtml-x4;
</td>
<td
bgcolor=
"white"
>
&dtml-x5;
</td>
<td
bgcolor=
"white"
>
&dtml-x6;
</td>
<td
bgcolor=
"white"
>
&dtml-x7;
</td>
<td
bgcolor=
"white"
>
&dtml-x0;
</td>
<td
bgcolor=
"white"
>
&dtml-x1;
</td>
<td
bgcolor=
"white"
>
&dtml-x2;
</td>
<td
bgcolor=
"white"
>
&dtml-x3;
</td>
<td
bgcolor=
"white"
>
&dtml-x4;
</td>
<td
bgcolor=
"white"
>
&dtml-x5;
</td>
<td
bgcolor=
"white"
>
&dtml-x6;
</td>
<td
bgcolor=
"white"
>
&dtml-x7;
</td>
lib/python/TAL/benchmark/dtml09.html
0 → 100644
View file @
4cffef54
<dtml-in
r64
>
<td
bgcolor=
"white"
>
&dtml-x0;
</td>
<td
bgcolor=
"white"
>
&dtml-x1;
</td>
<td
bgcolor=
"white"
>
&dtml-x2;
</td>
<td
bgcolor=
"white"
>
&dtml-x3;
</td>
<td
bgcolor=
"white"
>
&dtml-x4;
</td>
<td
bgcolor=
"white"
>
&dtml-x5;
</td>
<td
bgcolor=
"white"
>
&dtml-x6;
</td>
<td
bgcolor=
"white"
>
&dtml-x7;
</td>
</dtml-in>
lib/python/TAL/benchmark/dtml10.html
0 → 100644
View file @
4cffef54
<dtml-in
r64
>
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
</dtml-in>
lib/python/TAL/benchmark/dtml11.html
0 → 100644
View file @
4cffef54
<dtml-in
r64
>
<td
bgcolor=
"white"
>
&dtml-x0;
</td>
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
</dtml-in>
lib/python/TAL/benchmark/dtml12.html
0 → 100644
View file @
4cffef54
<dtml-in
r8
>
<dtml-let
y0=
x0
y1=
x1
y2=
x2
y3=
x3
y4=
x4
y5=
x5
y6=
x6
y7=
x7
>
<td
bgcolor=
"white"
>
&dtml-y0;
</td>
<td
bgcolor=
"white"
>
&dtml-y1;
</td>
<td
bgcolor=
"white"
>
&dtml-y2;
</td>
<td
bgcolor=
"white"
>
&dtml-y3;
</td>
<td
bgcolor=
"white"
>
&dtml-y4;
</td>
<td
bgcolor=
"white"
>
&dtml-y5;
</td>
<td
bgcolor=
"white"
>
&dtml-y6;
</td>
<td
bgcolor=
"white"
>
&dtml-y7;
</td>
</dtml-let>
</dtml-in>
lib/python/TAL/benchmark/tal01.html
0 → 100644
View file @
4cffef54
baseline
lib/python/TAL/benchmark/tal02.html
0 → 100644
View file @
4cffef54
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
lib/python/TAL/benchmark/tal03.html
0 → 100644
View file @
4cffef54
<td
bgcolor=
"white"
tal:content=
"x0"
></td>
<td
bgcolor=
"white"
tal:content=
"x1"
></td>
<td
bgcolor=
"white"
tal:content=
"x2"
></td>
<td
bgcolor=
"white"
tal:content=
"x3"
></td>
<td
bgcolor=
"white"
tal:content=
"x4"
></td>
<td
bgcolor=
"white"
tal:content=
"x5"
></td>
<td
bgcolor=
"white"
tal:content=
"x6"
></td>
<td
bgcolor=
"white"
tal:content=
"x7"
></td>
lib/python/TAL/benchmark/tal04.html
0 → 100644
View file @
4cffef54
<dtml-in
tal:repeat=
"r r8"
>
<td
bgcolor=
"white"
tal:content=
"x0"
></td>
<td
bgcolor=
"white"
tal:content=
"x1"
></td>
<td
bgcolor=
"white"
tal:content=
"x2"
></td>
<td
bgcolor=
"white"
tal:content=
"x3"
></td>
</dtml-in>
lib/python/TAL/benchmark/tal05.html
0 → 100644
View file @
4cffef54
<dtml-in
tal:repeat=
"r r8"
>
<td
bgcolor=
"white"
tal:content=
"x0"
></td>
<td
bgcolor=
"white"
tal:content=
"x1"
></td>
<td
bgcolor=
"white"
tal:content=
"x2"
></td>
<td
bgcolor=
"white"
tal:content=
"x3"
></td>
<td
bgcolor=
"white"
tal:content=
"x4"
></td>
<td
bgcolor=
"white"
tal:content=
"x5"
></td>
<td
bgcolor=
"white"
tal:content=
"x6"
></td>
<td
bgcolor=
"white"
tal:content=
"x7"
></td>
</dtml-in>
lib/python/TAL/benchmark/tal06.html
0 → 100644
View file @
4cffef54
<dtml-in
tal:repeat=
"r r2"
>
<dtml-in
tal:repeat=
"r r2"
>
<dtml-in
tal:repeat=
"r r2"
>
<td
bgcolor=
"white"
tal:content=
"x0"
></td>
<td
bgcolor=
"white"
tal:content=
"x1"
></td>
<td
bgcolor=
"white"
tal:content=
"x2"
></td>
<td
bgcolor=
"white"
tal:content=
"x3"
></td>
<td
bgcolor=
"white"
tal:content=
"x4"
></td>
<td
bgcolor=
"white"
tal:content=
"x5"
></td>
<td
bgcolor=
"white"
tal:content=
"x6"
></td>
<td
bgcolor=
"white"
tal:content=
"x7"
></td>
</dtml-in>
</dtml-in>
</dtml-in>
lib/python/TAL/benchmark/tal07.html
0 → 100644
View file @
4cffef54
<td
bgcolor=
"white"
tal:content=
"x0"
></td>
<td
bgcolor=
"white"
tal:content=
"x1"
></td>
<td
bgcolor=
"white"
tal:content=
"x2"
></td>
<td
bgcolor=
"white"
tal:content=
"x3"
></td>
<td
bgcolor=
"white"
tal:content=
"x4"
></td>
<td
bgcolor=
"white"
tal:content=
"x5"
></td>
<td
bgcolor=
"white"
tal:content=
"x6"
></td>
<td
bgcolor=
"white"
tal:content=
"x7"
></td>
<td
bgcolor=
"white"
tal:content=
"x0"
></td>
<td
bgcolor=
"white"
tal:content=
"x1"
></td>
<td
bgcolor=
"white"
tal:content=
"x2"
></td>
<td
bgcolor=
"white"
tal:content=
"x3"
></td>
<td
bgcolor=
"white"
tal:content=
"x4"
></td>
<td
bgcolor=
"white"
tal:content=
"x5"
></td>
<td
bgcolor=
"white"
tal:content=
"x6"
></td>
<td
bgcolor=
"white"
tal:content=
"x7"
></td>
<td
bgcolor=
"white"
tal:content=
"x0"
></td>
<td
bgcolor=
"white"
tal:content=
"x1"
></td>
<td
bgcolor=
"white"
tal:content=
"x2"
></td>
<td
bgcolor=
"white"
tal:content=
"x3"
></td>
<td
bgcolor=
"white"
tal:content=
"x4"
></td>
<td
bgcolor=
"white"
tal:content=
"x5"
></td>
<td
bgcolor=
"white"
tal:content=
"x6"
></td>
<td
bgcolor=
"white"
tal:content=
"x7"
></td>
<td
bgcolor=
"white"
tal:content=
"x0"
></td>
<td
bgcolor=
"white"
tal:content=
"x1"
></td>
<td
bgcolor=
"white"
tal:content=
"x2"
></td>
<td
bgcolor=
"white"
tal:content=
"x3"
></td>
<td
bgcolor=
"white"
tal:content=
"x4"
></td>
<td
bgcolor=
"white"
tal:content=
"x5"
></td>
<td
bgcolor=
"white"
tal:content=
"x6"
></td>
<td
bgcolor=
"white"
tal:content=
"x7"
></td>
<td
bgcolor=
"white"
tal:content=
"x0"
></td>
<td
bgcolor=
"white"
tal:content=
"x1"
></td>
<td
bgcolor=
"white"
tal:content=
"x2"
></td>
<td
bgcolor=
"white"
tal:content=
"x3"
></td>
<td
bgcolor=
"white"
tal:content=
"x4"
></td>
<td
bgcolor=
"white"
tal:content=
"x5"
></td>
<td
bgcolor=
"white"
tal:content=
"x6"
></td>
<td
bgcolor=
"white"
tal:content=
"x7"
></td>
<td
bgcolor=
"white"
tal:content=
"x0"
></td>
<td
bgcolor=
"white"
tal:content=
"x1"
></td>
<td
bgcolor=
"white"
tal:content=
"x2"
></td>
<td
bgcolor=
"white"
tal:content=
"x3"
></td>
<td
bgcolor=
"white"
tal:content=
"x4"
></td>
<td
bgcolor=
"white"
tal:content=
"x5"
></td>
<td
bgcolor=
"white"
tal:content=
"x6"
></td>
<td
bgcolor=
"white"
tal:content=
"x7"
></td>
<td
bgcolor=
"white"
tal:content=
"x0"
></td>
<td
bgcolor=
"white"
tal:content=
"x1"
></td>
<td
bgcolor=
"white"
tal:content=
"x2"
></td>
<td
bgcolor=
"white"
tal:content=
"x3"
></td>
<td
bgcolor=
"white"
tal:content=
"x4"
></td>
<td
bgcolor=
"white"
tal:content=
"x5"
></td>
<td
bgcolor=
"white"
tal:content=
"x6"
></td>
<td
bgcolor=
"white"
tal:content=
"x7"
></td>
<td
bgcolor=
"white"
tal:content=
"x0"
></td>
<td
bgcolor=
"white"
tal:content=
"x1"
></td>
<td
bgcolor=
"white"
tal:content=
"x2"
></td>
<td
bgcolor=
"white"
tal:content=
"x3"
></td>
<td
bgcolor=
"white"
tal:content=
"x4"
></td>
<td
bgcolor=
"white"
tal:content=
"x5"
></td>
<td
bgcolor=
"white"
tal:content=
"x6"
></td>
<td
bgcolor=
"white"
tal:content=
"x7"
></td>
lib/python/TAL/benchmark/tal08.html
0 → 100644
View file @
4cffef54
<td
bgcolor=
"white"
><span
tal:replace=
"x0"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x1"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x2"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x3"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x4"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x5"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x6"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x7"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x0"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x1"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x2"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x3"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x4"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x5"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x6"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x7"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x0"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x1"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x2"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x3"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x4"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x5"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x6"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x7"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x0"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x1"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x2"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x3"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x4"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x5"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x6"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x7"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x0"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x1"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x2"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x3"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x4"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x5"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x6"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x7"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x0"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x1"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x2"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x3"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x4"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x5"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x6"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x7"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x0"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x1"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x2"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x3"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x4"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x5"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x6"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x7"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x0"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x1"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x2"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x3"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x4"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x5"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x6"
></span></td>
<td
bgcolor=
"white"
><span
tal:replace=
"x7"
></span></td>
lib/python/TAL/benchmark/tal09.html
0 → 100644
View file @
4cffef54
<dtml-in
tal:repeat=
"r r64"
>
<td
bgcolor=
"white"
tal:content=
"x0"
></td>
<td
bgcolor=
"white"
tal:content=
"x1"
></td>
<td
bgcolor=
"white"
tal:content=
"x2"
></td>
<td
bgcolor=
"white"
tal:content=
"x3"
></td>
<td
bgcolor=
"white"
tal:content=
"x4"
></td>
<td
bgcolor=
"white"
tal:content=
"x5"
></td>
<td
bgcolor=
"white"
tal:content=
"x6"
></td>
<td
bgcolor=
"white"
tal:content=
"x7"
></td>
</dtml-in>
lib/python/TAL/benchmark/tal10.html
0 → 100644
View file @
4cffef54
<dtml-in
tal:repeat=
"r r64"
>
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
</dtml-in>
lib/python/TAL/benchmark/tal11.html
0 → 100644
View file @
4cffef54
<dtml-in
tal:repeat=
"r r64"
>
<td
bgcolor=
"white"
tal:content=
"x0"
></td>
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
A large chunk of text to be repeated.
</dtml-in>
lib/python/TAL/benchmark/tal12.html
0 → 100644
View file @
4cffef54
<dtml-in
tal:repeat=
"r r8"
>
<span
tal:define=
"y0 x0;y1 x1;y2 x2;y3 x3;y4 x4;y5 x5;y6 x6;y7 x7"
>
<td
bgcolor=
"white"
tal:content=
"y0"
></td>
<td
bgcolor=
"white"
tal:content=
"y1"
></td>
<td
bgcolor=
"white"
tal:content=
"y2"
></td>
<td
bgcolor=
"white"
tal:content=
"y3"
></td>
<td
bgcolor=
"white"
tal:content=
"y4"
></td>
<td
bgcolor=
"white"
tal:content=
"y5"
></td>
<td
bgcolor=
"white"
tal:content=
"y6"
></td>
<td
bgcolor=
"white"
tal:content=
"y7"
></td>
</span>
</dtml-in>
lib/python/TAL/markbench.py
0 → 100755
View file @
4cffef54
#! /usr/bin/env python1.5
'''Run benchmarks of TAL vs. DTML'''
try
:
import
warnings
except
ImportError
:
pass
else
:
warnings
.
filterwarnings
(
"ignore"
,
category
=
DeprecationWarning
)
import
os
os
.
environ
[
'NO_SECURITY'
]
=
'true'
import
sys
,
time
import
setpath
from
DocumentTemplate.DT_HTML
import
HTMLFile
from
HTMLTALParser
import
HTMLTALParser
from
TALInterpreter
import
TALInterpreter
from
DummyEngine
import
DummyEngine
from
cStringIO
import
StringIO
def
time_apply
(
f
,
args
,
kwargs
,
count
):
for
i
in
range
(
4
):
apply
(
f
,
args
,
kwargs
)
r
=
[
None
]
*
count
t0
=
time
.
clock
()
for
i
in
r
:
pass
t1
=
time
.
clock
()
for
i
in
r
:
apply
(
f
,
args
,
kwargs
)
t
=
time
.
clock
()
-
t1
-
(
t1
-
t0
)
return
t
/
count
def
time_zpt
(
fn
,
count
):
from
Products.PageTemplates.PageTemplate
import
PageTemplate
pt
=
PageTemplate
()
pt
.
write
(
open
(
fn
).
read
())
return
time_apply
(
pt
.
pt_render
,
(),
{
'extra_context'
:
data
},
count
)
def
time_tal
(
fn
,
count
):
p
=
HTMLTALParser
()
p
.
parseFile
(
fn
)
program
,
macros
=
p
.
getCode
()
engine
=
DummyEngine
(
macros
)
engine
.
globals
=
data
tal
=
TALInterpreter
(
program
,
macros
,
engine
,
StringIO
(),
wrap
=
0
,
tal
=
1
,
strictinsert
=
0
)
return
time_apply
(
tal
,
(),
{},
count
)
def
time_dtml
(
fn
,
count
):
html
=
HTMLFile
(
fn
)
return
time_apply
(
html
,
(),
data
,
count
)
def
profile_zpt
(
fn
,
count
,
profiler
):
from
Products.PageTemplates.PageTemplate
import
PageTemplate
pt
=
PageTemplate
()
pt
.
write
(
open
(
fn
).
read
())
for
i
in
range
(
4
):
pt
.
pt_render
(
extra_context
=
data
)
r
=
[
None
]
*
count
for
i
in
r
:
profiler
.
runcall
(
pt
.
pt_render
,
0
,
data
)
def
profile_tal
(
fn
,
count
,
profiler
):
p
=
HTMLTALParser
()
p
.
parseFile
(
fn
)
program
,
macros
=
p
.
getCode
()
engine
=
DummyEngine
(
macros
)
engine
.
globals
=
data
tal
=
TALInterpreter
(
program
,
macros
,
engine
,
StringIO
(),
wrap
=
0
,
tal
=
1
,
strictinsert
=
0
)
for
i
in
range
(
4
):
tal
()
r
=
[
None
]
*
count
for
i
in
r
:
profiler
.
runcall
(
tal
)
tal_fn
=
'benchmark/tal%.2d.html'
dtml_fn
=
'benchmark/dtml%.2d.html'
def
compare
(
n
,
count
,
profiler
=
None
):
t1
=
int
(
time_zpt
(
tal_fn
%
n
,
count
)
*
1000
+
0.5
)
t2
=
int
(
time_tal
(
tal_fn
%
n
,
count
)
*
1000
+
0.5
)
t3
=
int
(
time_dtml
(
dtml_fn
%
n
,
count
)
*
1000
+
0.5
)
print
'%.2d: %10s %10s %10s'
%
(
n
,
t1
,
t2
,
t3
)
if
profiler
:
profile_tal
(
tal_fn
%
n
,
count
,
profiler
)
def
main
(
count
,
profiler
=
None
):
n
=
1
print
'##: %10s %10s %10s'
%
(
'ZPT'
,
'TAL'
,
'DTML'
)
while
os
.
path
.
isfile
(
tal_fn
%
n
)
and
os
.
path
.
isfile
(
dtml_fn
%
n
):
compare
(
n
,
count
,
profiler
)
n
=
n
+
1
data
=
{
'x'
:
'X'
,
'r2'
:
range
(
2
),
'r8'
:
range
(
8
),
'r64'
:
range
(
64
)}
for
i
in
range
(
10
):
data
[
'x%s'
%
i
]
=
'X%s'
%
i
if
__name__
==
"__main__"
:
filename
=
"markbench.prof"
profiler
=
None
if
len
(
sys
.
argv
)
>
1
and
sys
.
argv
[
1
]
==
"-p"
:
import
profile
profiler
=
profile
.
Profile
()
del
sys
.
argv
[
1
]
if
len
(
sys
.
argv
)
>
1
:
for
arg
in
sys
.
argv
[
1
:]:
compare
(
int
(
arg
),
25
,
profiler
)
else
:
main
(
25
,
profiler
)
if
profiler
is
not
None
:
profiler
.
dump_stats
(
filename
)
import
pstats
p
=
pstats
.
Stats
(
filename
)
p
.
strip_dirs
()
p
.
sort_stats
(
'time'
,
'calls'
)
try
:
p
.
print_stats
(
20
)
except
IOError
,
e
:
if
e
.
errno
!=
errno
.
EPIPE
:
raise
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment