Basic HTML version of Foils prepared 23 June 1997

Foil 6 Performance Issues

From JavaScript Tutorial for Certificate Course UC Web applications Certificate -- Summer 97. by Geoffrey C. Fox, Tom Scavo


Execute C code instruction Ñ 1 clock cycle ( 10^8 per sec)
Run a client-side C subroutine Ñ can do up to 10^6 instructions in time that is significant for user (few milliseconds)
JavaVM interpreter Ñ roughly 50 times slower than C
JavaVM Just in Time compiler (effectively compile JavaVM in real time) Ñ roughly 2Ð8 times slower than C
Native Java compiler Ñ same speed as C
Perl interpreter (processes entire program before interpreting) Ñ 500 times slower than C except in runtime
Tcl, JavaScript "true" interpreters Ñ 5000 times slower than C
  • Can still do 100-1000 instructions in time that users don't notice!
CGI script Ñ server, network, and client HTML page regeneration delay measured in seconds



Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Wed Apr 1 1998