[Nitro] [PATCH] Og patches

Robert Mela rob at robmela.com
Sat May 12 08:53:53 EDT 2007


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.

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.

Jonathan Buch wrote:
> Hi,
>
>   
>>> But I don't think that speed-optimization-notifications should
>>> be put out by Og directly...
>>>       
>> And in my little ideal world, there'd be some notifications.  Or something.
>> Even links to articles, or a pointer to the README that talks about the
>> optimizations, because the closer the answer is to the question, the more
>> people will have a good experience, you know?
>>     
>
> so, where is the question located then?  The question arises, if you have
> more than a dozen Models, and the startup time goes over 20 seconds, that
> would be my guess where people start to ask 'could this go faster'.  The
> most important setting (which brings the most speed) is:
> `Og.create_schema = false`, not the :classes option.  :classes is a very
> small enhancement of only 1 ObjectSpace search + (around 5 calls to ann()
> less per Model).
>
> So, the question is, how 'big' should the advertisement of this option be
> and where would we put it?  (Og.create_schema)
> I have used this option for as long as I know Og now, so I'm not sure how
> visible it is.  Do you think it needs more exposure?
> On the other hand, I'm just not sure if we should create a Office 'paper-
> clip' behaviour, always nagging at startup.
>
>   
>> I think I'm alone in that view though, so I was keeping mum.
>>     
>
> I'm not so sure about that, anyone else care to jump in?  George, any
> comment on this?
>
> Jo
>
>   

-------------- 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/20070512/d2b23177/attachment.vcf 


More information about the Nitro-general mailing list