Great, thanks! There is no need to activate $conf['allowdebug'], because the float constant "DOKU_START_TIME" always gets initialized in init.php. If you want to display the time elapsed between Dokuwiki start and page rendering, just insert the following somewhere at the bottom of your template file: Generated in <?php echo round(delta_time(DOKU_START_TIME), 3); ?> Seconds. Many thanks to all developers of Dokuwiki and to all the great people on this list! Gabriel -----Ursprüngliche Nachricht----- Von: dokuwiki-bounce@xxxxxxxxxxxxx [mailto:dokuwiki-bounce@xxxxxxxxxxxxx] Im Auftrag von Chris Smith Gesendet: Dienstag, 16. Januar 2007 21:32 An: dokuwiki@xxxxxxxxxxxxx Betreff: [dokuwiki] Re: Simple profiling of each dokuwiki page request Gabriel Birke wrote: > Hello, > > I would like to insert into the footer of a page the number of > microseconds a page request took. I know this is a bit complicated > because at the time the page is rendered I script isn't done yet. What > would be the best approach to this? I thought about "auto_prepend_file" and "auto_append_file" > but I am not allowed to make changes in .htaccess. > > I probably will start a Timer at the beginning of doku.php but where > will I stop it? > > Greetings, > > Gabriel > > I think its already in the standard template, switch on allowdebug and see what you get. -- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist -- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist