[erlang-questions] benchmarks llvm vs gcc
mog
mog-lists@REDACTED
Tue Aug 5 20:48:02 CEST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
So I was curious to see if i could get 5-10% boost out of Erlang r12b3
via llvm built vm, turns out it actually decreases speed a bit in
comparison to my gcc. I used the http://shootout.alioth.debian.org for
benchmark codes and ran all benchmarks. I would be happy to send all
info if anyone is interested.
specrtalnorm
llvm Erlang 21.745 787.513 2698.601
- ---
gcc Erlang 6.736 241.999 885.979
hello
llvm Erlang 0.392 17.205 34.390 51.623 68.760
- ---
gcc Erlang 0.268 11.061 22.073 33.098 44.083
~ gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.1-2'
--with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3
--enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc
--enable-mpfr --enable-targets=all --enable-cld
--enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu
--target=i486-linux-gnu
Thread model: posix
gcc version 4.3.1 (Debian 4.3.1-2)
~ llvm-gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../llvm-gcc4.2-2.2.source/configure
--host=i486-linux-gnu --build=i486-linux-gnu
--prefix=/usr/lib/llvm/gcc-4.2 --enable-languages=c,c++
--program-prefix=llvm- --enable-llvm=/usr/lib/llvm --enable-threads
--disable-nls --disable-shared --disable-multilib --disable-bootstrap
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5546) (LLVM build)
Mog
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkiYoFwACgkQeq+tARrxhnszDwCgmyKa1Nafjavm/UJDzzrBKwOZ
i3cAnRWgOIgNgFHe0HPnvsK6oObx4PVA
=60MB
-----END PGP SIGNATURE-----
More information about the erlang-questions
mailing list