Re: Quartz/memory benchmarks...
Re: Quartz/memory benchmarks...
- Subject: Re: Quartz/memory benchmarks...
- From: Allan Odgaard <email@hidden>
- Date: Fri, 28 Jun 2002 00:18:37 +0200
On torsdag, juni 27, 2002, at 11:23 , Kyle Hammond wrote:
However, I'm not really convinced. If I grab the scroll bar thumb and
slide it up and down, the table scrolls very smoothly, even full screen.
How nice with that subjective statement, especially considering that the
number of mouseEvents sent to my window (with a delta Y > 0) is less
than my screens refresh rate (at 60 Hz).
If I select a row and hold down the keyboard up or down arrow key, the
table also scrolls very smoothly, as quickly as my key-repeat setting
can go.
The fastest key-repeat setting on my system provides ~30 repeats pr.
second -- this is *not* realtime (and another thing that really
irritates me about this Mac -- for God sake, it takes *two* entire
seconds to scroll from the top to the bottom of this window (which
feature 60 lines)...
Users aren't going to be able to do what your programmatic scrolling is
doing.
Actually, I wanted to programatically do the steps in between the scroll
factor, so that one can scroll while reading a document without loosing
the focus -- unfortunately this is impossible on the Mac, because the
smooth ease in/out won't be realtime and so just look irritating...
maybe I should just go back to my Amiga until Quartz Extreme is
released ;-)
They're going to have to use the scrollbar or arrow keys to scroll.
So, I don't think that you can definitely say from this code that
"Quartz is slow".
First of all, I have no problem detecting that scrolling the contents of
e.g. Finder windows is slow -- you really ought to see how real time
scrolling looks, secondly: yes I *can* say that Quartz is slow,
scrolling a listview at 17 frames pr. second *is* slow!!! even though
many users won't notice it...
The scroll bar may be using some optimized code path behind the scenes,
but that's another issue.
Stop kidding yourself!
Quartz itself isn't the cause of the slowdown, since the scroll bar can
make it zip right along.
Okay, so why don't you modify the program and make it send fake mouse
events and see if that boosts the frame rate???
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.