[Nitro] [PATCH] Og patches
Robert Mela
rob at robmela.com
Tue May 15 21:49:31 EDT 2007
Jonathan Buch wrote:
> Hi,
>
>
>> I think that anyone who has more than a dozen models is someone who has
>> spent some time with Nitro and already consulted some documentation.
>>
>
> not necessarily true, I myself have never once looked in the Og doc dir
> nor have tried or even looked at a single example. ;)
>
>
Well... I was thinking of that alternate universe where the
documentation does exist (a universe derived from this one by applying a
forward shift in time...)
> Well, lets figure someone, who's evaluating Og for use with a slightly
> bigger project. He creates the general model layout, starts it for the
> first time and it takes 20 seconds to start up.
> I agree with Lester that this might not be the 'first expression' we
> want to create.
>
> What about this idea:
>
> Creating a general startup/shutdown callback (just some array with
> procs in it). This could then be used to provide a 'helper' which
> just collects the start time, if it goes over 15 seconds it prints
> a debug message saying 'quite a long startup, consider <see here>'
>
>
That's a good idea. It could grow to becomea general "performance tips"
framework that inserts callbacks before and after certain methods in
debug mode, but not loaded in production mode.
Another option might be to have debug mode always run a single startup
message like "run nitro --help' for performance and other hints".
It's all good.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rob.vcf
Type: text/x-vcard
Size: 116 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/nitro-general/attachments/20070515/ece407e7/attachment.vcf
More information about the Nitro-general
mailing list