idea about a small performance improvement for webui

Oliver Lehmann oliver at FreeBSD.org
Sat May 9 04:28:07 EDT 2009


Oliver Lehmann wrote:

> Beat Gätzi wrote:
> 
> > That would be a great if we could add something similar to webui. Would
> > you also create a second switch or would you use the existing one?
> 
> I tried it:
> 
> http://olli.homeip.net/tinderbox/index.phps
> 
> It appears that it does not save any microsecond. Probably the handing
> over of classes you've implemented some time ago already did the big
> saving..

Ok, also moving the required_once into the if switch, does indeed save
some speed:

http://olli.homeip.net/tinderbox/index2.phps

But it feels not so readable any longer... :(


-- 
 Oliver Lehmann
  http://www.pofo.de/
  http://wishlist.ans-netz.de/


More information about the tinderbox-list mailing list