Dispatch_Compared
Last Revision: | Version 1.0, 2009-09-08 Compare overhead of various GCD alternative APIs |
Build Requirements: | Mac OS X v10.6 or later |
Runtime Requirements: | Mac OS X v10.6 or later |
This sample code measures the performance of invoking and executing various parallel APIs, in comparison to serial equivalents: a simple for loop, GCD: dispatch_apply, GCD: serial queue, GCD: parallel queue, GCD: multiple queues, OpenMP, and POSIX threads.
Copyright © 2009 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2009-09-08