- How to run
make all -j10 ./main -v
- Content
- GNU C99.
- Modern CXX11~CXX20.
- Trails.
- Makefile.
- M1 (Darwin Chisato-MacBook-Pro.local 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:10:42 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T6000 arm64, Apple clang version 15.0.0 (clang-1500.3.9.4))
time make -j8 # make -j8 10.06s user 1.21s system 567% cpu 1.985 total # 2024.4.28 # make -j10 21.30s user 2.19s system 799% cpu 2.938 total # make main 0.63s user 0.10s system 91% cpu 0.795 total
# CPU loops per second # clang -O0 Alan::__loops_per_sec_(1) = 24434032 Alan::__loops_per_sec_(2) = 49660779 Alan::__loops_per_sec_(3) = 74456481 # clang -O3 Alan::__loops_per_sec_(1) = 60274124 Alan::__loops_per_sec_(2) = 122208869 Alan::__loops_per_sec_(3) = 183411630
- Win64 (MINGW64_NT-10.0-19045 DESKTOP-QRS5IC2 3.4.10.x86_64 2024-03-24 15:09 UTC x86_64 Msys, clang version 11.0.0)
time make -j8 # real 0m8.094s # user 0m42.116s # sys 0m8.360s
# CPU loops per second # gcc -O0 Alan::__loops_per_sec_(1) = 14481591 Alan::__loops_per_sec_(2) = 28735669 Alan::__loops_per_sec_(3) = 44418881 # gcc -O2 Alan::__loops_per_sec_(1) = 17001525 Alan::__loops_per_sec_(2) = 39107601 Alan::__loops_per_sec_(3) = 58595730
- Server (Linux VM-0-16-ubuntu 5.15.0-72-generic #79-Ubuntu SMP Wed Apr 19 08:22:18 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux, Ubuntu clang version 14.0.0-1ubuntu1.1)
time make -j8 # real 0m9.438s # user 0m30.923s # sys 0m2.909s
# CPU loops per second # gcc -O0 Alan::__loops_per_sec_(1) = 18292420 Alan::__loops_per_sec_(2) = 36579376 Alan::__loops_per_sec_(3) = 52902849 # gcc -O2 Alan::__loops_per_sec_(1) = 35623114 Alan::__loops_per_sec_(2) = 70066823 Alan::__loops_per_sec_(3) = 10802244
- M1 (Darwin Chisato-MacBook-Pro.local 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:10:42 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T6000 arm64, Apple clang version 15.0.0 (clang-1500.3.9.4))
-
Notifications
You must be signed in to change notification settings - Fork 0
Juminiy/cpp-worktest
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
my cpp workspace and test rural area
Resources
Stars
Watchers
Forks
Releases
No releases published