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


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

in Table To:


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