Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Stata/SE 10 very slow reading program code


From   Dirk Enzmann <[email protected]>
To   [email protected]
Subject   Re: st: Stata/SE 10 very slow reading program code
Date   Thu, 06 Mar 2008 22:55:20 +0100

Yes, really impressive how fast Statacorp did react.

Just one thought: Is it possible that the speed has something to do with the phenomenon that by pasting the code it appears in the review window staggered, for example

--- (snip) -----------------
16.
. }
17.
. else {
--- (snip) -----------------

whereas running it by calling a .do-file it appears as expected, for example:

--- (snip) -----------------
16. }
17. else {
--- (snip) -----------------

Is it possible that the CR at the end of the line causes problems (note that line breaks are defined differently in different operating systems)?

Dirk


Date: Wed, 05 Mar 2008 09:27:03 -0500
From: Richard Williams <[email protected]>
Subject: Re: st: Stata/SE 10 very slow reading program code

At 04:49 PM 3/2/2008, Dirk Enzmann wrote:
Any idea why Stata/SE 10 is extremely slow reading program code? Version 10.0 needs about 35-40 seconds to read 107 lines of code whereas Version 9.2 needs only about 1 second.
As usual, when Statalist speaks, Statacorp takes action. From the - -help whatsnew- for the March 3 executable update:

"Performance of the Review window has been enhanced so that there is less overhead between executing multiple commands that are all pasted into the Command window at once."

Dirk's code, which was taking me 18 seconds to run, now runs in about 3-4 seconds. Which is still a little slower than Stata 9.2, but is nonetheless a big improvement.
*************************************************
Dr. Dirk Enzmann
Institute of Criminal Sciences
Dept. of Criminology
Schlueterstr. 28
D-20146 Hamburg
Germany

phone: +49-(0)40-42838.7498 (office)
+49-(0)40-42838.4591 (Mrs Billon)
fax: +49-(0)40-42838.2344
email: [email protected]
www: http://www2.jura.uni-hamburg.de/instkrim/kriminologie/Mitarbeiter/Enzmann/Enzmann.html
*************************************************
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index