See also AllAboutPageTypes?

Testing render performance with ab -n 10:

               min  mean[+/-sd] median   max

 GeneralDiscussion?bare=1 (~60k normal wiki content)
 Total:        946  1502 1582.0    992  6002 plainhtmldtml
 Total:      11874 12725 1953.5  12006 18182 dtmlstructuredtext
 Total:       3064  3232  263.5   3111  3810 structuredtextdtml
 Total:       2284  2369   44.0   2376  2447 stxprelinkdtml

 ChangeLog?bare=1 (~60k included, stx-formatted & wiki-linked via dtml)
 Total:       6082  7856 2393.4   6725 12948 plainhtmldtml
 Total:      37809 39527 1903.3  39304 44491 dtmlstructuredtext
 Total:      12127 12291  270.2  12196 12995 structuredtextdtml
 Total:       6008  6153  170.5   6142  6581 stxprelinkdtml

 RecentChanges?bare=1 (~1000 pages)
 Total:       5624  5978  337.0   5912  7132 plainhtmldtml
 Total:    120146 120664 732.6 121182 121182 dtmlstructuredtext
 Total:      63823 67523 3032.1  66542 72655 structuredtextdtml
 Total:       5894  6104  223.6   6020  6619 stxprelinkdtml

 ZwikiTracker?bare=1&textortitle= (~200 issues)
 Total:       3404  3650  672.4   3429  5562 plainhtmldtml
 Total:      32558 33363  598.2  33398 34287 dtmlstructuredtext
 Total:       4732  5584 1956.8   4821 10967 structuredtextdtml
 Total:       3534  3819  543.2   3569  5236 stxprelinkdtml

 FrontPage?bare=1
 Total:        708   783  170.2    724  1263 plainhtmldtml
 Total:       2510  2596  160.3   2532  3030 dtmlstructuredtext
 Total:        809   946  397.0    816  2076 structuredtextdtml
 Total:        796   954  294.0    822  1604 stxprelinkdtml

20020601: should probably redo all the above after recent bugfixes - done.

stxprelinkdtml seems like a keeper. However, if it could be made fast I think doing linking as the final step feels most natural. Possibilities:

test script:

 curl -s 'http://zwiki.org/GeneralDiscussion/edit?type=plainhtmldtml' -o/dev/null; ab -n 10 'http://zwiki.org/GeneralDiscussion?bare=1' |egrep '(Complete requests:|Total:)'
 curl -s 'http://zwiki.org/GeneralDiscussion/edit?type=dtmlstructuredtext' -o/dev/null; ab -n 10 'http://zwiki.org/GeneralDiscussion?bare=1' |egrep '(Complete requests:|Total:)'
 curl -s 'http://zwiki.org/GeneralDiscussion/edit?type=structuredtextdtml' -o/dev/null; ab -n 10 'http://zwiki.org/GeneralDiscussion?bare=1' |egrep '(Complete requests:|Total:)'
 curl -s 'http://zwiki.org/GeneralDiscussion/edit?type=stxprelinkdtml' -o/dev/null; ab -n 10 'http://zwiki.org/GeneralDiscussion?bare=1' |egrep '(Complete requests:|Total:)'

 curl -s 'http://zwiki.org/ChangeLog/edit?type=plainhtmldtml' -o/dev/null; ab -n 10 'http://zwiki.org/ChangeLog?bare=1' |egrep '(Complete requests:|Total:)'
 curl -s 'http://zwiki.org/ChangeLog/edit?type=dtmlstructuredtext' -o/dev/null; ab -n 10 'http://zwiki.org/ChangeLog?bare=1' |egrep '(Complete requests:|Total:)'
 curl -s 'http://zwiki.org/ChangeLog/edit?type=structuredtextdtml' -o/dev/null; ab -n 10 'http://zwiki.org/ChangeLog?bare=1' |egrep '(Complete requests:|Total:)'
 curl -s 'http://zwiki.org/ChangeLog/edit?type=stxprelinkdtml' -o/dev/null; ab -n 10 'http://zwiki.org/ChangeLog?bare=1' |egrep '(Complete requests:|Total:)'

 curl -s 'http://zwiki.org/RecentChanges/edit?type=plainhtmldtml' -o/dev/null; ab -n 10 -t300 'http://zwiki.org/RecentChanges?bare=1' |egrep '(Complete requests:|Total:)'
 curl -s 'http://zwiki.org/RecentChanges/edit?type=dtmlstructuredtext' -o/dev/null; ab -n 10 -t300 'http://zwiki.org/RecentChanges?bare=1' |egrep '(Complete requests:|Total:)'
 curl -s 'http://zwiki.org/RecentChanges/edit?type=structuredtextdtml' -o/dev/null; ab -n 10 -t300  'http://zwiki.org/RecentChanges?bare=1' |egrep '(Complete requests:|Total:)'
 curl -s 'http://zwiki.org/RecentChanges/edit?type=stxprelinkdtml' -o/dev/null; ab -n 10 'http://zwiki.org/RecentChanges?bare=1' |egrep '(Complete requests:|Total:)'

 curl -s 'http://zwiki.org/ZwikiTracker/edit?type=plainhtmldtml' -o/dev/null; ab -n 10 'http://zwiki.org/ZwikiTracker?bare=1&textortitle=' |egrep '(Complete requests:|Total:)'
 curl -s 'http://zwiki.org/ZwikiTracker/edit?type=dtmlstructuredtext' -o/dev/null; ab -n 10 'http://zwiki.org/ZwikiTracker?bare=1&textortitle=' |egrep '(Complete requests:|Total:)'
 curl -s 'http://zwiki.org/ZwikiTracker/edit?type=structuredtextdtml' -o/dev/null; ab -n 10 'http://zwiki.org/ZwikiTracker?bare=1&textortitle=' |egrep '(Complete requests:|Total:)'
 curl -s 'http://zwiki.org/ZwikiTracker/edit?type=stxprelinkdtml' -o/dev/null; ab -n 10 'http://zwiki.org/ZwikiTracker?bare=1&textortitle=' |egrep '(Complete requests:|Total:)'

 curl -s 'http://zwiki.org/FrontPage/edit?type=plainhtmldtml' -o/dev/null; ab -n 10 'http://zwiki.org/FrontPage?bare=1' |egrep '(Complete requests:|Total:)'
 curl -s 'http://zwiki.org/FrontPage/edit?type=dtmlstructuredtext' -o/dev/null; ab -n 10 'http://zwiki.org/FrontPage?bare=1' |egrep '(Complete requests:|Total:)'
 curl -s 'http://zwiki.org/FrontPage/edit?type=structuredtextdtml' -o/dev/null; ab -n 10 'http://zwiki.org/FrontPage?bare=1' |egrep '(Complete requests:|Total:)'
 curl -s 'http://zwiki.org/FrontPage/edit?type=stxprelinkdtml' -o/dev/null; ab -n 10 'http://zwiki.org/FrontPage?bare=1' |egrep '(Complete requests:|Total:)'


comments:

profile data from plone.org --SimonMichael, Fri, 30 Jan 2004 12:17:24 -0800 reply
Something to stare at. What can we learn from this ?

http://zwiki.org/zwikidir/misc/contrib/20040130-alan-profile.txt

profile data from plone.org --SimonMichael, Fri, 30 Jan 2004 12:18:28 -0800 reply
Just the Zwiki parts:

   ncalls  tottime  percall  cumtime  percall  filename:lineno(function)
    42576   39.320    0.001  243.170    0.006  .../ZWiki/Utils.py:99(metadataFor)
    44198   34.600    0.001   51.640    0.001  .../ZWiki/Tracker.py: 158(issueColourFor)
    44198   14.790    0.000   69.720    0.002  .../ZWiki/Tracker.py: 147(issueColour)
  2121504   11.260    0.000   11.260    0.000  .../ZWiki/Tracker.py:169(<lambda>)
    42560    7.180    0.000  275.580    0.006  .../ZWiki/Utils.py: 118(ensureCompleteMetadataIn)
    42576    5.260    0.000    6.530    0.000  .../ZWiki/Tracker.py: 318(category_index)
    42576    4.820    0.000    5.980    0.000  .../ZWiki/Tracker.py: 325(severity_index)
    42576    4.800    0.000    6.030    0.000  .../ZWiki/Tracker.py: 332(status_index)
    42795    2.720    0.000   29.470    0.001  .../ZWiki/Utils.py:210(page_url)
    86323    2.440    0.000    8.740    0.000  .../ZWiki/Editing.py:866(read)
    44973    2.420    0.000   25.200    0.001  .../ZWiki/Utils.py:217(wiki_url)

cool -- Sat, 14 May 2005 10:48:15 -0700 reply
thanks man

cool -- Sat, 14 May 2005 10:52:26 -0700 reply
N/p