HELP! * GREY=local LOCAL HTML version of Foils prepared 15 January 1997

Foil 6 Some Performance Comments

From JavaScript Tutorial for CPS616 Technologies of the Information Age 1997 Basic Information Track of CPS -- Spring Semester 97. by Geoffrey C. Fox * See also color IMAGE

Execute C code Instruction -- 1 clock cycle ( 10^8 per second)
Run a client side C subroutine -- can do upto 10^6 instructions in time (few milliseconds) that is significant for user
JavaVM Interpreter -- roughly 50 times slower than C
JavaVM Just in Time Compiler (effectively compile JavaVM in real time) -- roughly 2 to 8 times slower than C
Native Java Compiler -- same speed as C
Perl Interpreter (but does process whole 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!
Contact Host via CGI script -- Server, Network and Client HTML page regeneration delay can be 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 Sat May 24 1997