wiki:DynamicByDefault

Version 3 (modified by igloo, 17 months ago) (diff)

--

OS X 32bit vs 64bit

Currently, some people use the 32bit version of GHC on OS X for performance reasons. Full nofib results comparing the two are here for static by default, and here for dynamic by default, but the highlights are:

x86 -> x86_64
when static by default
x86 -> x86_64
when dynamic by default
Binary Sizes
-1 s.d.+38.0%+7.4%
+1 s.d.+38.6%+30.6%
Average+38.3%+18.5%
Allocations
-1 s.d.+63.2%+63.2%
+1 s.d.+114.4%+114.4%
Average+87.0%+87.0%
Run Time
-1 s.d.-23.5%-31.6%
+1 s.d.+36.1%+14.7%
Average+2.1%-11.4%
Elapsed Time
-1 s.d.-18.2%-30.0%
+1 s.d.+40.1%+17.0%
Average+7.0%-9.5%
Mutator Time
-1 s.d.-32.4%-38.8%
+1 s.d.+20.1%+3.0%
Average-9.9%-20.6%
Mutator Elapsed Time
-1 s.d.-28.7%-37.9%
+1 s.d.+22.5%+4.4%
Average-6.6%-19.5%
GC Time
-1 s.d.+4.5%-11.9%
+1 s.d.+74.8%+54.1%
Average+35.2%+16.5%
GC Elapsed Time
-1 s.d.+7.9%-8.0%
+1 s.d.+75.1%+56.7%
Average+37.4%+20.0%
Total Memory in use
-1 s.d.-1.7%-1.9%
+1 s.d.+88.9%+88.9%
Average+36.3%+36.1%
Compile Times
-1 s.d.+11.9%-8.9%
+1 s.d.+21.1%+2.9%
Average+16.4%-3.1%