[Vm-dev] Cog VM idling performance
Juan Vuletich (mail lists)
juanlists at jvuletich.org
Thu Jun 7 10:21:22 UTC 2012
Hi Phil,
Take a look at the two numeric classVars in WorldState
class>>initialize. Change their values, see how they are used. You can
control the performance dependence on the mouse events. This works ok
on your image, at least on a Mac.
Quoting Bert Freudenberg <bert at freudenbergs.de>:
>
> On 07.06.2012, at 03:37, "Phil (list)" <pbpublist at gmail.com> wrote:
>
>> I'm not sure I understand: I have a morph with stepping enabled
>> (every 50ms)... shouldn't that keep the idle process from taking
>> over? If not (i.e. and your suggestion is the way to go), what's
>> the recommended way to kill the idle process and how would I
>> restart it when I no longer want maximum performance?
>
> Enable the higherPerformance preference.
>
> This does not kill the idle process, but disables Morphic's regular
> 50 fps cap. Use a FrameRateMorph to show the frame rate, it should
> be in the hundreds of fps.
>
> That said I'm not entirely sure if this relates to the
> move-mouse-to-do-anything phenomenon. We have seen this
> occasionally, only on Linux IIRC, but never got down to the root of
> it.
>
> - Bert -
Cheers,
Juan Vuletich
More information about the Vm-dev
mailing list