Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # clang -v
- FreeBSD clang version 3.2 (trunk 162107) 20120817
- # gcc48 -v
- gcc version 4.8.0 20121014 (experimental) (FreeBSD Ports Collection)
- # sysctl -a | egrep -i 'hw.machine|hw.model|hw.ncpu'
- hw.machine: amd64
- hw.model: Intel(R) Xeon(R) CPU L3426 @ 1.87GHz
- hw.ncpu: 8
- hw.machine_arch: amd64
- # ./bench.sh
- time ./gcc/prim-native-gcc
- 20,28 real 19,04 user 0,07 sys
- time ./gcc/prim-native-gcc-O2
- 4,83 real 4,51 user 0,02 sys
- time ./gcc/prim-native-gcc-O3
- 4,79 real 4,52 user 0,02 sys
- time ./gcc/prim-nocona-gcc
- 16,97 real 15,95 user 0,03 sys
- time ./gcc/prim-nocona-gcc-O2
- 5,18 real 4,67 user 0,03 sys
- time ./gcc/prim-nocona-gcc-O3
- 4,96 real 4,56 user 0,04 sys
- time ./gcc/prim-i7-gcc
- 20,98 real 19,14 user 0,07 sys
- time ./gcc/prim-i7-gcc-O2
- 4,91 real 4,54 user 0,02 sys
- time ./gcc/prim-i7-gcc-O3
- 5,06 real 4,56 user 0,01 sys
- =======================================
- time ./clang/prim-native-clang
- 17,66 real 16,02 user 0,08 sys
- time ./clang/prim-native-clang-O2
- 5,29 real 4,71 user 0,03 sys
- time ./clang/prim-native-clang-O3
- 5,02 real 4,64 user 0,02 sys
- time ./clang/prim-nocona-clang
- 17,45 real 15,97 user 0,05 sys
- time ./clang/prim-nocona-clang-O2
- 4,94 real 4,62 user 0,03 sys
- time ./clang/prim-i7-gcc
- 17,30 real 15,94 user 0,07 sys
- time ./clang/prim-i7-clang-O2
- 5,24 real 4,65 user 0,05 sys
- time ./clang/prim-i7-clang-O3
- 5,14 real 4,66 user 0,01 sys
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement