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: performance issues



John

Which reminds me of another thing I noticed--MPEnter/ExitCriticalRegion
seemed to be a lot slower than the raw pthread solution, according to
Shark. Why is this? Seems like one should be just as good as the other.

Interesting. I would have thought they'd be close too.

FWIW, it appears that MPTask-based locking is significantly slower than the Windows equivalent (though I don't have anything like Shark on the Windows side to really compare).

In general, any time I could get rid of a mutex (or semaphore, I'm probably using these terms sloppily) I could get measurable improvements in our apps.
--


David Dunham Macintosh Game Developer GameHouse Studios email@hidden 206 442 5881 x22 http://www.gamehouse.com
"They said it couldn't be done but sometimes it doesn't
work out that way." -- Casey Stengel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden


This email sent to email@hidden


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.