Re: Why is NSTableView scrolling in Cocoa apps so slow?
Re: Why is NSTableView scrolling in Cocoa apps so slow?
- Subject: Re: Why is NSTableView scrolling in Cocoa apps so slow?
- From: John Hörnkvist <email@hidden>
- Date: Thu, 6 Sep 2001 13:37:21 +0200
On Thursday, September 6, 2001, at 12:44 PM, Henk Kampman wrote:
During live scrolling I get at max 2 updates per second.
The NSTableView has 40 visible rows,in other words getting and drawing
40
(short) strings takes aprox. 0.5 seconds.
Thats not slow, thats pathetic!
The Carbon application running on the same hardware (G4/400) and MacOSX
is
magnitudes faster.
So this can't be a Quartz issue.
I've also noticed that other Cocoa applications using (large) tables
have
the same performance problems with live scrolling.
There must something wrong with the way NSTableView processes/generates
update events during live scrolling.
I'd collect some data with Sampler and gprof. Then we'd at least have a
chance of finding the problem source.
In my experience, NSTableView causes performance problems when the data
source is slow.
Regards,
John Hornkvist
--
ToastedMarshmallow, the perfect Cocoa companion
http://www.toastedmarshmallow.com