HELP! * YELLOW=global GREY=local Global HTML version of Foils prepared 20 February 97

Foil 9 Some Performance Comments

From Feb 10 Delivered Lecture for Course CPS616 -- Introduction to JavaScript CPS616 spring 1997 -- Feb 10 1997. by Geoffrey Fox * See also color IMAGE
Secs 156.9
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 3 1997