[swift-corelibs-dev] Status of DispatchQueue.concurrentPerform on Linux?

JP Simard jp at jpsim.com
Tue Nov 28 16:25:22 CST 2017

For what it's worth, I've been using DispatchQueue.concurrentPerform on my
own projects that run on both Darwin and Linux and it's worked well for
both. I haven't noticed the issue you're describing.

Perhaps you could include a repro case that demonstrates this behavior?

PS: However, my Swift CLI executables that use this are much slower on
Linux, but that's more due to corelibs Foundation than anything related to

On Tue, 28 Nov 2017 at 02:55 Spencer Kohan via swift-corelibs-dev <
swift-corelibs-dev at swift.org> wrote:

> I did some performance testing, and found that while using
> concurrentPerform for a set of long running operations resulted in half the
> execution time of synchronous code on macOS, on Linux the execution time
> was not meaningfully different from the synchronous version.  Is this
> expected?
> Cheers,
> Spencer Kohan
> _______________________________________________
> swift-corelibs-dev mailing list
> swift-corelibs-dev at swift.org
> https://lists.swift.org/mailman/listinfo/swift-corelibs-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-corelibs-dev/attachments/20171128/a91a6562/attachment.html>

More information about the swift-corelibs-dev mailing list