idea about a small performance improvement for webui

Beat Gätzi beat at chruetertee.ch
Sat May 9 09:54:26 EDT 2009


Oliver Lehmann wrote:
> 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... :(

This indeed save speed and lower the memory consumption of webui
framework. Would you commit this change?

Thanks,
Beat


More information about the tinderbox-list mailing list