Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Displaying the time it takes to -list-


From   "Peter Jepsen" <[email protected]>
To   <[email protected]>
Subject   st: Displaying the time it takes to -list-
Date   Tue, 25 Feb 2003 20:20:36 +0100

Nick Winter wrote:
*****
	. list in 50000/50010

takes 0.01 seconds in my test database, whereas

	. list

takes over 4 seconds to begin.

The following takes about 0.17 seconds:

	. list if inrange(_n,20000,20035)

campared with:

	. generage rand=uniform()
	. list if rand>.9999

which takes about 0.18 seconds to list in my sample dataset,
*****

How can I make Stata 8 display the time it takes from the moment I hit
<ENTER> after issuing a -list- command until the results are displayed?

Thank you in advance.

Peter Jepsen.

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