Path: utzoo!attcan!uunet!mcvax!hp4nl!ruuinf!piet From: piet@ruuinf (Piet van Oostrum) Newsgroups: comp.sys.hp Subject: speed of Pascal programs Summary: how fast are they? Keywords: Pascal HP9000/318 Message-ID: <921@ruuinf.UUCP> Date: 16 Dec 88 16:15:40 GMT Sender: piet@ruuinf.UUCP Reply-To: piet@ruuinf (Piet van Oostrum) Organization: Dept of Computer Science, University of Utrecht, Holland Lines: 21 Today I tried to run a Pascal comparison Sun 3/60 vs HP9000/318. The results are very surprising: The Sun3/60 is a 20 MHz 68020, The HP9000/318 is a 16.7 MHz 68020. The speed diffrence of compilation and C programs is 20-50% in favor of the Sun. So far so good. But: The speed of a translated Pascal program on the Sun is 6-7 times the speed of the program on HP. (I used the TeX tangle program as an example). Both are compiled without optimizations and with runtime checks (which doesn't make much difference). I can't check the figures for HP, because I don't have one at hand, so I must trust what I wrote down, but tangling tangle.web tangle.ch took about 34 seconds on the HP and 5.2 seconds on Sun. WHY IS THE HP PASCAL CODE SO SLOW???? Does anybody have experience with this? -- Piet van Oostrum, Dept of Computer Science, University of Utrecht Padualaan 14, P.O. Box 80.089, 3508 TB Utrecht, The Netherlands Telephone: +31-30-531806 UUCP: ...!mcvax!hp4nl!ruuinf!piet