[Nitro] [PATCH] Og patches

Jonathan Buch john at oxyliquit.de
Sun May 13 11:05:28 EDT 2007


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.  ;)

> Such people are likely to be familiar with software development and
> documentation, and are likely to start looking for the word
> "performance" in a documentation directory.
>
> In fact, there could be a file called 'performance.html' in the docs
> directory.

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>'

This message could be enabled on default, more experienced users
can just disable it by modifying the startup-callback array.

Anyway, George, you hearin' this?  You oughta be back in business
right now, or are you dead busy converting to rspecs.  :P

Jo

-- 
Feel the love
http://pinkjuice.com/pics/ruby.png


More information about the Nitro-general mailing list