Re: speed test data
| From: | Gabor Hojtsy | Date: | Sat, 09 Feb 2002 11:40:45 +0000 |
| Subject: | Re: speed test data | ||
| References: | 1 | Groups: | php.doc.chm |
| Request: | Send a blank email to php-doc-chm+get-8@lists.php.net to get a copy of this message | ||
> ---------------------------------------
> FuncFancy:
> first display: 120 - 170
> subsequent refreshes: 40 - 60
>
> FuncBare:
> fisrt: 70 - 130
> sub : 30 - 50
>
> InnerBare:
> first: 60 - 110
> sub : 20 - 40
>
> InnerFancy:
> first: 150 - 200
> sub: ~100
OK, I made the test for these HTML files with external
JS files, as opposed to internal JS code as presented
by Brendan.
The results are very interesting. It seems, that the
Func* pages display with the same time values, while
InnerFancy works on double speed both for the first
display and subsequent displays. InnerBare works on
the lowest margin presented above, and never prints
time number values for the first time bigger than
70 :)
Though these test files are not complete in the sense,
that these are only using the funcs and innerhtml tricks
to display the header and footer, the comparisions would
be fairly the same if we would make scripts work for
all parts.
So as the numbers show, on my testmachine, the winner
is InnerHTML, with Brendan's test using external JS
codes.
BTW, I have updated the http://weblabor.hu/php/speed.zip
so now the external JS files are also included.
See for yourself, if my results are the same for you.
Goba