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:
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.
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.