Ben

Maybe you have a different compile flag setting
do $System.OBJ.ShowFlags()

What I am thinking is that on the test server you have studio set to
optimize code
but when you deploy you do somthing like
do $System.OBJ.Load(filename,"ck")

flags are different so the compiled code is different and less
efficient

have a look at the source code in the test naespace and the deployed
namespace - is it the same??

Peter




On Tue, 17 Aug 2004 11:25:25 -0400, Ben Taylor <[EMAIL PROTECTED]>
wrote:

>Hi folks
>
>I'm having an interesting issue. I recently noticed some code on the 
>production server was running significantly slower than on the test bed. 
>  It turned out that the %Save() calls were what was significantly 
>slower. Wanting to make sure it wasn't a computer/cache version/memory 
>settings type issue, I created a new namespace in the test bed Cache 
>install, and imported all the production code. It was stil slower. Now 
>the interesting part. After much debugging and toying, I imported the 
>test bed code into the newly created namespace. It ran slower there too! 
>I tried deleting all the data, in case it was because one database was 
>larger than the other, no luck. Even the %OpenId() calls take longer in 
>the new namespace.
>Why would some code, both with freshly emptied globals, have significant 
>execution speed differences in one namespace compared to another?
>
>Ben Taylor
>MPLNet, Inc.


Reply via email to