• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7700 for generic doc work for TWiki-6.0.2. Use View topic Item7703 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

See Item1538.

This is in Release 4.0., unfortunately.

Originally reported by GŁnther Fischer in twiki-dev.

-- SP

fixed in svn:8675 ?

-- SD

For those that wish to get this fix

The SVN 8675 fix is the same as posted on TWiki:Codev.PerformanceIssueOfTWiki04x00x00

On my installation (no mod_perl) a longer text topic loaded in 1.6 seconds before this fix and 1.2 seconds after. So patch is recommended.


Lavr, I do know you want to promote the user experience when timing your installation; I believe the timings you post here are done on a default setup, and includes loading of images / css.

Please state very explicitly, when you post numbers that are not TWiki:Codev.AthensMarks-style benchmarks (core / close to core).

-- SP

OK. Here is the method for the timing.

  • Measurements are done from another computer then the one running the TWiki server so that the browser does not take CPU time.
  • Measurements are done using a text topic that can be seen on the screen without scrolling.
  • Measurements are done with the same topic in Cairo and Dakar.
  • The page has been loaded several times so that images and style sheets are cached since this is how 99% of all pages are viewed.
  • Browser is setup to "Check for newer versions of the pages" -> "Every time you visit the page" as this is the way users have to have their browser setup to use CMS sites and Wikis. Otherwise they keep on missing the update they just did.
  • When browser is checking versions it does not download the entire images and style sheets. It starts by doing a http GET of the page. followed by a sequence of GETs for each element with "if modified since" in the http protocol. The Apache server returns a "304 Not Modified" instead of retransmitting the entire page.
  • The measurements are done by capturing the Ethernet traffic on the client machine using Etherreal.
  • The definition of page loaded is when the browser Acknowledge the last received info as this is the same moment that it displays the resulting page.
  • Internet Explorer is always used because I have noticed that the browser does not send the final ack until it actually shows the page.
  • The reason for this method is that the user could not care less which part of the delay comes from TWiki code, pattern skin downloading, and browser rendering. He sees the sum. And the many speed improvements my investigations have triggered have happened both in code compiling, skin related delays like unnecessary searches and javascript execution. An extra advantage is that the Etherreal traces gives you all the timing. You get the time from the first GET to the first TCP segment of the HTML returned which is in practical the perl compilation/execution time. You get the time it takes to check that all page elements are not changed, and finally you get the time from the last element is checked and till IE decides to acknowledge the page received which in practical is the time it takes the browser to execute the javascripts and calculate image positions etc.

In this particular bug report it was the code execution (time from first GET to first HTML segment returned) that got extended.

Hope this put some light on my numbers. I will copy this description to TWiki:Codev.DakarPerformanceIssues as it should have general interest beyond this bug report.


Closing this.

-- SP

Summary Item1538 sets back Athensmark by 50%
ReportedBy TWiki:Main.SteffenPoulsen

SVN Range Sun, 29 Jan 2006 build 8586
AppliesTo Engine

Priority Urgent
CurrentState Closed

TargetRelease patch
Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatpatch revert_item1538.patch r1 manage 1.8 K 2006-02-02 - 20:43 SteffenPoulsen  
Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r9 - 2006-02-08 - SvenDowideit
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback