• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Why is NSTableView scrolling in Cocoa apps so slow?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Why is NSTableView scrolling in Cocoa apps so slow?
      • From: Marcel Weiher <email@hidden>
References: 
 >Re: Why is NSTableView scrolling in Cocoa apps so slow? (From: Henk Kampman <email@hidden>)

  • Prev by Date: Re: address of method in a class instance
  • Next by Date: Re: address of method in a class instance
  • Previous by thread: Re: Why is NSTableView scrolling in Cocoa apps so slow?
  • Next by thread: Re: Why is NSTableView scrolling in Cocoa apps so slow?
  • Index(es):
    • Date
    • Thread