Ansicht umschalten
Avatar von thomasg666
  • thomasg666

498 Beiträge seit 24.02.2009

Facebooks Benchmark

Beim Versuch die 40% zu replizieren war ich selbst mit folgendem
Testcase nicht erfolgreich:

http://bpaste.net/show/196362/ (test.cpp)

% wc -l test.cpp && time cpp test.cpp &> /dev/null && time g++
test.cpp &> /dev/null
316 test.cpp
cpp test.cpp &> /dev/null  0.27s user 0.05s system 99% cpu 0.322
total
g++ test.cpp &> /dev/null  1.00s user 0.12s system 99% cpu 1.119
total

Fragt sich wie Facebook Präprozessor-Direktiven nutzt.

Bewerten
- +
Ansicht umschalten