Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: G5 bandwidth



I didn't do any profiling. This only came up as I was putting together an XServe G5. I looked into Shark but it wasn't obvious [to me] how to use it without a large time investment.

There really are not many programs easier to use than shark:

1) Launch Shark
(available here: ftp://ftp.apple.com/developer/Tool_Chest/Testing_-_Debugging/ Performance_tools/)
2) Press the start button
3) run the thing that you want profiled
4) press the stop button after it finishes


After that you can browse the results. At the top level functions are listed according to how much time they are taking. You can switch between a overall view of every function in every app on the system that is using time, or trim down to look at functions from just one app or just one thread in one app. No special setup is required. If you want to know more about a function you can double click it and see which lines of C source code account for the most time. This will help give you an idea of what parts of the function need work. With advanced usage you can sample on various other events like page misses, cache misses, etc. (a lot of these have one click presets to help you set up shark) to look to see if these factors are a problem.

Apple just put up a tutorial on Shark a few days ago.

	http://developer.apple.com/tools/shark_optimize.html


Ian _______________________________________________ scitech mailing list | email@hidden Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/scitech Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.