Re: PhD and configure.php optimizations
| From: | Hannes Magnusson | Date: | Wed, 27 Apr 2011 17:45:31 +0000 |
| Subject: | Re: PhD and configure.php optimizations | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969382661@lists.php.net to get a copy of this message | ||
On Wed, Apr 27, 2011 at 14:58, Hannes Magnusson
<hannes.magnusson@gmail.com> wrote:
> All this takes us alot closer to be able to provide "live preview" in PhD OE..
> The "whole shebang" (configure.php, phd indexing, phd rendering) for
> one book (mysqli, for example) takes my laptop less then 7seconds[1]
> :D
Quick follow up.. Did some more optimizations... 25% extra :)
The book.mysqli now takes 4second on my laptop.
After that, I realized rendering one page would obviously be quicker
so I tried that out..
$ rm -rf output; time ( php doc-base/configure.php
--generate=en/reference/mysqli/mysqli/real-escape-string.xml ; php
~/Work/OSS/php/phd/render.php --package PHP --format php -d
doc-base/.manual.xml )
[....]
real 0m0.720s
user 0m0.150s
sys 0m0.100s
I think thats acceptable for a live preview? :P
Yannick or Kschan.. Could you implement it into PhD OE? :)
-Hannes