On Thu, Dec 10, 2015 at 8:33 AM, Isaac Gouy via swift-dev
<swift-dev@swift.org> wrote:
> How should I compile Swift programs on Ubuntu 15.10 for best performance?
>
> Like this?
>
>
>    bin/swiftc <source code file> -Ounchecked -whole-module-optimization
>
>
>
> What is performance with swift-2.2-SNAPSHOT-2015-12-01-b-ubuntu15.10 
> currently expected to be like? Like Python? Like Java? Like C?

Unfortunately, it looks like we enabled extra assertions in the
snapshot builds, so performance measurements won't be representative:
https://bugs.swift.org/browse/SR-180

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <griboz...@gmail.com>*/
_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev

Reply via email to