Skip to content

Instantly share code, notes, and snippets.

@ArseniyShestakov
Last active Oct 30, 2015
Embed
What would you like to do?
VCMI build benchmark #1
Build using GCC + LD + make:
real 2m54.822s
user 17m49.558s
sys 1m5.261s
RESULT FILE SIZES:
6,4M /dev/shm/vcmi_build/launcher/vcmilauncher
70M /dev/shm/vcmi_build/client/vcmiclient
20M /dev/shm/vcmi_build/server/vcmiserver
135M /dev/shm/vcmi_build/lib/libvcmi.so
88K /dev/shm/vcmi_build/lib/minizip/libminizip.so
2,6M /dev/shm/vcmi_build/AI/BattleAI/libBattleAI.so
860K /dev/shm/vcmi_build/AI/EmptyAI/libEmptyAI.so
1,3M /dev/shm/vcmi_build/AI/StupidAI/libStupidAI.so
23M /dev/shm/vcmi_build/AI/VCAI/libVCAI.so
Build using GCC + LD + ninja:
real 2m48.367s
user 18m12.374s
sys 1m4.381s
RESULT FILE SIZES:
6,4M /dev/shm/vcmi_build/launcher/vcmilauncher
70M /dev/shm/vcmi_build/client/vcmiclient
20M /dev/shm/vcmi_build/server/vcmiserver
135M /dev/shm/vcmi_build/lib/libvcmi.so
88K /dev/shm/vcmi_build/lib/minizip/libminizip.so
2,6M /dev/shm/vcmi_build/AI/BattleAI/libBattleAI.so
860K /dev/shm/vcmi_build/AI/EmptyAI/libEmptyAI.so
1,3M /dev/shm/vcmi_build/AI/StupidAI/libStupidAI.so
23M /dev/shm/vcmi_build/AI/VCAI/libVCAI.so
Build using GCC + Gold + make:
real 2m48.589s
user 17m36.609s
sys 1m4.722s
RESULT FILE SIZES:
6,4M /dev/shm/vcmi_build/launcher/vcmilauncher
70M /dev/shm/vcmi_build/client/vcmiclient
21M /dev/shm/vcmi_build/server/vcmiserver
136M /dev/shm/vcmi_build/lib/libvcmi.so
88K /dev/shm/vcmi_build/lib/minizip/libminizip.so
2,6M /dev/shm/vcmi_build/AI/BattleAI/libBattleAI.so
868K /dev/shm/vcmi_build/AI/EmptyAI/libEmptyAI.so
1,3M /dev/shm/vcmi_build/AI/StupidAI/libStupidAI.so
23M /dev/shm/vcmi_build/AI/VCAI/libVCAI.so
Build using GCC + Gold + ninja:
real 2m37.814s
user 17m54.681s
sys 1m4.422s
RESULT FILE SIZES:
6,4M /dev/shm/vcmi_build/launcher/vcmilauncher
70M /dev/shm/vcmi_build/client/vcmiclient
21M /dev/shm/vcmi_build/server/vcmiserver
136M /dev/shm/vcmi_build/lib/libvcmi.so
88K /dev/shm/vcmi_build/lib/minizip/libminizip.so
2,6M /dev/shm/vcmi_build/AI/BattleAI/libBattleAI.so
868K /dev/shm/vcmi_build/AI/EmptyAI/libEmptyAI.so
1,3M /dev/shm/vcmi_build/AI/StupidAI/libStupidAI.so
23M /dev/shm/vcmi_build/AI/VCAI/libVCAI.so
Build using Clang + LD + make:
real 1m53.399s
user 10m37.769s
sys 0m29.664s
RESULT FILE SIZES:
4,1M /dev/shm/vcmi_build/launcher/vcmilauncher
67M /dev/shm/vcmi_build/client/vcmiclient
21M /dev/shm/vcmi_build/server/vcmiserver
139M /dev/shm/vcmi_build/lib/libvcmi.so
112K /dev/shm/vcmi_build/lib/minizip/libminizip.so
2,0M /dev/shm/vcmi_build/AI/BattleAI/libBattleAI.so
448K /dev/shm/vcmi_build/AI/EmptyAI/libEmptyAI.so
672K /dev/shm/vcmi_build/AI/StupidAI/libStupidAI.so
22M /dev/shm/vcmi_build/AI/VCAI/libVCAI.so
Build using Clang + LD + ninja:
real 1m43.988s
user 10m52.270s
sys 0m29.605s
RESULT FILE SIZES:
4,1M /dev/shm/vcmi_build/launcher/vcmilauncher
67M /dev/shm/vcmi_build/client/vcmiclient
21M /dev/shm/vcmi_build/server/vcmiserver
139M /dev/shm/vcmi_build/lib/libvcmi.so
112K /dev/shm/vcmi_build/lib/minizip/libminizip.so
2,0M /dev/shm/vcmi_build/AI/BattleAI/libBattleAI.so
448K /dev/shm/vcmi_build/AI/EmptyAI/libEmptyAI.so
672K /dev/shm/vcmi_build/AI/StupidAI/libStupidAI.so
22M /dev/shm/vcmi_build/AI/VCAI/libVCAI.so
Build using Clang + Gold + make:
real 1m36.344s
user 10m11.530s
sys 0m28.731s
RESULT FILE SIZES:
4,2M /dev/shm/vcmi_build/launcher/vcmilauncher
68M /dev/shm/vcmi_build/client/vcmiclient
22M /dev/shm/vcmi_build/server/vcmiserver
140M /dev/shm/vcmi_build/lib/libvcmi.so
112K /dev/shm/vcmi_build/lib/minizip/libminizip.so
2,1M /dev/shm/vcmi_build/AI/BattleAI/libBattleAI.so
460K /dev/shm/vcmi_build/AI/EmptyAI/libEmptyAI.so
680K /dev/shm/vcmi_build/AI/StupidAI/libStupidAI.so
23M /dev/shm/vcmi_build/AI/VCAI/libVCAI.so
Build using Clang + Gold + ninja:
real 1m29.530s
user 10m25.510s
sys 0m27.986s
RESULT FILE SIZES:
4,2M /dev/shm/vcmi_build/launcher/vcmilauncher
68M /dev/shm/vcmi_build/client/vcmiclient
22M /dev/shm/vcmi_build/server/vcmiserver
140M /dev/shm/vcmi_build/lib/libvcmi.so
112K /dev/shm/vcmi_build/lib/minizip/libminizip.so
2,1M /dev/shm/vcmi_build/AI/BattleAI/libBattleAI.so
460K /dev/shm/vcmi_build/AI/EmptyAI/libEmptyAI.so
680K /dev/shm/vcmi_build/AI/StupidAI/libStupidAI.so
23M /dev/shm/vcmi_build/AI/VCAI/libVCAI.so
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment