• 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: app slower under Panther
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: app slower under Panther


  • Subject: Re: app slower under Panther
  • From: Hsu <email@hidden>
  • Date: Sat, 1 Nov 2003 19:50:19 -0800

Have you tried sampler, to see where the time is actually being spent?

Karl

On Nov 1, 2003, at 7:03 PM, Neville Smythe wrote:

Sorry if this has come up before, I've been off the list for a while...

I just installed Panther, and one feature in my app is now running very much slower than under 10.2

I do a search and some processing on every item in a file with ~58,000 items (the file is about 600 kbytes), writing the output to a temporary file and then displaying the accumulated results in a text field. This used to execute in well under a second, now takes nearly 5 seconds on my G4 1GHz 512mb Powerbook, which is probably intolerable for my users with slower machines.

I thought at first it was excessive paging to allow the system to be more more responsive, but looking at the Activity Monitor that doesn't seem to be the reason;
my next guess the culprit is NSText readRFTDFromFile when I read the file into the text field (the writing to file is done using fwrite). Has anyone else experienced this method being much slower on large files?

$@%? $@%? $@%? $@%? $@%? $@%? $@%? $@%? $@%?
Neville Smythe email@hidden
Mathematical Sciences Institute Tel: 61-2-6125-2709
Australian National University Fax: 61-2-6125-4984
Canberra ACT 0200 AUSTRALIA Mob: 0414517719
_______________________________________________
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.


--

I like reality. It tastes of bread.

Homepage:
http://homepage.mac.com/khsu/index.html
_______________________________________________
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.

References: 
 >app slower under Panther (From: Neville Smythe <email@hidden>)

  • Prev by Date: Re: iTunes playlist selection style?
  • Next by Date: tableView Drag and Drop frustration
  • Previous by thread: app slower under Panther
  • Next by thread: Re: app slower under Panther
  • Index(es):
    • Date
    • Thread