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:41:56
|
On 9/26/12 9:18 PM, Stevethefiddle wrote:
>>> I thought this list was closing?
>> I thought so too, but here we are.
> since it's not closed yet ....
>
>
>> The speed of Nyquist should be very similar on both.
> but it's not.
> 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.
>
> Steve
This is a great test because there's no signal processing. What happens
here is:
memory allocation and garbage collection (all but small integers go
on the heap)
occasional calls to oscheck() to check for interrupts
It's possible, depending on compilers and alignment, that XLISP cells
are bigger on Debian.
It would be really helpful to profile the code. Also, it would be
interesting to run the same in nyquist on both systems (not within
audacity).
-Roger
|