Slow screen lock/unlock

Lynch, Jonathan BNZ2 at CDC.GOV
Wed Mar 16 17:19:48 EST 2005


How long does it take if you comment out the lock screen line?

In my experience, I rarely need to use unlock screen, as it does so
automatically when the handler finishes.

I have scripts that lock the screen frequently, adjust a field size,
then finish and the screen unlocks automatically - the time consumed
while locking has not been noticeable for me.

-----Original Message-----
From: use-revolution-bounces at lists.runrev.com
[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Michael J.
Lew
Sent: Wednesday, March 16, 2005 4:59 PM
To: use-revolution at lists.runrev.com
Subject: Slow screen lock/unlock

It takes about 260 milliseconds to lock and unlock the screen (OS X 
10.3, slowish G4). Here is my test script that takes 2680 
milliseconds to run:

on mouseUp
   put the milliseconds into startTime
   repeat 10
     lock screen
     unlock screen
   end repeat
   put the milliseconds-startTime
end mouseUp

If I comment out either the lock screen or the unlock screen then the 
whole thing takes 2 milliseconds and if I comment out the unlock 
screen line then it takes less than one millisecond.

Is it slow on other systems?
Is this some Quartz "feature"?
Is there something wrong with the way that Rev does screen locking or 
unlocking?
How can I get around slow screen updates for animating lots of points?

Regards,
-- 
Michael J. Lew

Senior Lecturer
Department of Pharmacology
The University of Melbourne
Parkville 3010
Victoria
Australia

Phone +613 8344 8304

**
New email address: michaell at unimelb.edu.au
**
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list