Created
May 16, 2019 08:22
-
-
Save evilmucedin/44cc004167b28bbec8d607472130718f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
01:20 denplusplus@denplusplus-desktop:~/Temp/benchmark/nbody$ /usr/bin/g++ -march=native -c -pipe -O3 -fomit-frame-pointer -mfpmath=sse -msse3 nbody.gpp-9.cpp -o nbody.gpp-9.c++.o && /usr/bin/g++ nbody.gpp-9.c++.o -o nbody.gpp-9.gpp_run && rm nbody.gpp-9.c++.o01:20 denplusplus@denplusplus-desktop:~/Temp/benchmark/nbody$ time ./nbody.gpp-9.gpp_run 50000000 | |
-0.169075164 | |
-0.169059907 | |
real 0m5.807s | |
user 0m5.805s | |
sys 0m0.000s | |
01:20 denplusplus@denplusplus-desktop:~/Temp/benchmark/nbody$ rustc -C opt-level=3 -C target-cpu=core2 -C lto -C codegen-units=1 -C target-feature=+sse2 nbody.rs -o nbody.rust-7.rust_run | |
01:20 denplusplus@denplusplus-desktop:~/Temp/benchmark/nbody$ time ./nbody.rust-7.rust_run 50000000 | |
-0.169075164 | |
-0.169059907 | |
real 0m15.126s | |
user 0m15.111s | |
sys 0m0.004s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment