在Linux和NT下使用编译器在双启动机器上的执行时间。 比较了GNU C (gcc)、Pentium GNU C (pgcc)、Microsoft Visual C (VC) 和 Metrowerks Code Warrior (CW) 编译器。 时间来自全新启动的系统。
Red Hat Linux 5.2 | Windows | NT 4 (Service Pack 3) | - | - |
gcc | pgcc | 最快的 VC | 最快的 CW | - |
PC 1 (PII/233) | 24.39 秒 | 23.43 秒 | 31.04 秒 (VC 4) | 23.33 秒 (CW 4) |
PC 2 (PII/400) | 15.43 秒 | 13.73 秒 | 20.95 秒 (VC 6) | 14.00 秒 (CW 4) |