Sciweavers

SPE
1998

Timing Trials, or the Trials of Timing: Experiments with Scripting and User-Interface Languages

13 years 4 months ago
Timing Trials, or the Trials of Timing: Experiments with Scripting and User-Interface Languages
This paper describes some basic experiments to see how fast various popular scripting and user-interface languages run on a spectrum of representative tasks. We found enormous variation in performance, depending on many factors, some uncontrollable and even unknowable. There seems to be little hope of predicting performance in other than a most general way; if there is a single clear conclusion, it is that no benchmark result should ever be taken at face value. A few general principles hold: • Compiled code usually runs faster than interpreted code: the more a program has been ‘‘compiled’’ before it is executed, the faster it will run. • Memory-related issues and the effects of memory hierarchies are pervasive: how memory is managed, from hardware caches to garbage collection, can change runtimes dramatically. Yet users have no direct control over most aspects of memory management. • The timing services provided by programs and operating systems are woefully inadequate. ...
Brian W. Kernighan, Christopher J. Van Wyk
Added 23 Dec 2010
Updated 23 Dec 2010
Type Journal
Year 1998
Where SPE
Authors Brian W. Kernighan, Christopher J. Van Wyk
Comments (0)