Compilation speed with GCC (Developers)
> I haven't tested speeds, so I can't say for sure. But even if it ran
> faster on a 586, it might not run faster on newer cpus (e.g. AMD64 or Core
> 2). It's very complicated to optimize for several (micro?-)architectures.
Well, I did a single test on ye olde P166 (no MMX, F/M/S: 5/2/C) w/ total 32 MB RAM, running DR-DOS 7.03, using UIDES (5 MB) and %TMPDIR% pointing to a 3 MB RAM drive. And I tried recompiling TDE 5.1v with "-O0" (GCC 3.4.4, DJGPP 2.04). And yes, I ran "cc" (clear cache) before each compile. "lh cwsdpmi -p -s-" and "lh hdpmi32 -r" were used before beginning. (Note that TDE 5.1v has a fair amount of separate .C files to compile, so I figured this was a fair way to test since a single-file .CPP didn't seem to show any difference.)
CWSDPMI r5 "testing" (2002): Elapsed time: 166.700 seconds (0:02:46.700)
HDPMI32 from latest HXRTD.ZIP: Elapsed time: 160.930 seconds (0:02:40.930)
So, yes, HDPMI32 is faster (approx. 4%). However, it may be the opposite (by accident) on a PII, P4, AMD64, Core 2, etc. More testing welcome.
Complete thread:
- Compilation speed with GCC - Rugxulo, 20.06.2008, 00:17 (Developers)
- Compilation speed with GCC - DOS386, 20.06.2008, 09:38
- Compilation speed with GCC - RayeR, 20.06.2008, 12:34
- Compilation speed with GCC - Rugxulo, 20.06.2008, 21:23
- Compilation speed with GCC - Rugxulo, 21.06.2008, 01:04
- Compilation speed with GCC - Japheth, 21.06.2008, 09:06
- Compilation speed with GCC - Rugxulo, 21.06.2008, 01:04
- Compilation speed with GCC - Rugxulo, 20.06.2008, 21:23
- Compilation speed with GCC - RayeR, 20.06.2008, 12:34
- Compilation speed with GCC - sol, 20.06.2008, 17:36
- Compilation speed with GCC - Rugxulo, 20.06.2008, 21:28
- Compilation speed with GCC - Rugxulo, 21.06.2008, 01:09
- Compilation speed with GCC - sol, 21.06.2008, 01:22
- Compilation speed with GCC - Rugxulo, 21.06.2008, 07:44
- Compilation speed with GCC - marcov, 21.06.2008, 14:07
- Compilation speed with GCC - sol, 21.06.2008, 01:22
- Compilation speed with GCC - marcov, 21.06.2008, 14:03
- Compilation speed with GCC - marcov, 21.06.2008, 14:10
- Compilation speed with GCC - Rugxulo, 22.06.2008, 03:16
- Compilation speed with GCC - marcov, 22.06.2008, 11:39
- Compilation speed with GCC - Rugxulo, 24.06.2008, 01:29
- Compilation speed with GCC - sol, 24.06.2008, 01:42
- Compilation speed with GCC - Rugxulo, 24.06.2008, 03:34
- Compilation speed with GCC - marcov, 24.06.2008, 09:27
- Compilation speed with GCC - Rugxulo, 24.06.2008, 01:29
- Compilation speed with GCC - marcov, 22.06.2008, 11:39
- Compilation speed with GCC - Rugxulo, 22.06.2008, 03:16
- Compilation speed with GCC - marcov, 21.06.2008, 14:13
- Compilation speed with GCC - Rugxulo, 22.06.2008, 03:06
- Compilation speed with GCC - marcov, 22.06.2008, 11:46
- Compilation speed with GCC - Rugxulo, 06.07.2008, 17:18
- Compilation speed with GCC - marcov, 09.07.2008, 18:11
- Compilation speed with GCC - Rugxulo, 06.07.2008, 17:18
- Compilation speed with GCC - marcov, 22.06.2008, 11:46
- Compilation speed with GCC - Rugxulo, 22.06.2008, 03:06
- Compilation speed with GCC - Rugxulo, 09.09.2008, 22:16
- Compilation speed with GCC - DOS386, 20.06.2008, 09:38