Re: [Audacity-nyquist] Nyquist in Audacity is much slower on Linux than on Windows XP
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
|
From: Roger D. <rb...@cs...> - 2012-09-27 01:53:05
|
On 9/26/12 9:43 PM, Stevethefiddle wrote:
> Stevethefiddle wrote
>> Running the following in the Nyquist Prompt effect:
>>
>> (dotimes (i 10000000)
>> (setq x i))
>> "done"
>>
>> Windows XP Guest in Virtualbox: about 2.5 seconds.
>> Debian host: about 12 seconds.
> Standalone Nyquist in Debian:
>
> (defun test ()
> (dotimes (i 10000000)
> (setq x i))
> (print "done"))
>
> {note: this counts to 10,000,000}
> about 6 seconds - counting to 1,000,000 was too fast to time, about half a
> second.
>
> Steve
>
Of course, the standalone runt ime should match the Audacity runtime, at
least in this case, where there's no substantial interaction with
anything outside of XLISP. So now we have 2 disparities to resolve. I
think the next step is profiling under Debian to see where the time is
going. I assume everything here is compiled for 32 bit architectures.
There might be a big difference between running 64-bit vs 32-bit code
(not to mention that Nyquist doesn't support 32 bit code -- but actually
the latest version in SVN is running under 64-bit OS X and I'm in the
process of testing others.)
-Roger
|