Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Hybrid TPTP scenario"

(New page: ===TPTP Profiler users=== *Harm Sluiman ===Usage scenarios=== ====Most general case:==== # profile the squiggly browser when running the Tomcat 5.5 SVG jsp example # isolate the time spen...)
 
(Add requirements)
Line 3: Line 3:
  
 
===Usage scenarios===
 
===Usage scenarios===
 +
====Requirements and set up====
 +
To run this simple two tier application follow these steps:
 +
#Install a default image of Tomcat 5.5 or newer
 +
#Put your JRE 1.5 or newer on the path and run the tomcat5.exe in the tomcat bin directory
 +
#open the tomcat welcome page or go to http://127.0.0.1:8080/ for a local install.
 +
#login with the default userid and pwd
 +
#run some of the sample applications to confirm things work, and then try the JSP SVG sample. This will give show tell you how to run the sample.
 +
#download and unzip a recent batik binary driver from Apache
 +
#with your JRE on the path run java -jar batik-squiggle.jar and enter the url provided when running the earlier jsp sample
 +
You now have a running two tier java application. This is all free open source so easy to install and recreate as needed. You can try all this out on one machine but clearly the two processes will affect each other so using two machines for more formal measurement is better and creates the need for remote monitoring using the profiler.
 +
 
====Most general case:====
 
====Most general case:====
 
# profile the squiggly browser when running the Tomcat 5.5 SVG jsp example
 
# profile the squiggly browser when running the Tomcat 5.5 SVG jsp example
# isolate the time spent in the batik code versus the browser code or on the network
+
# isolate the time spent in the batik code versus the browser code or on the network using the class/method statistics views in TPTP
 
# profile the jsp on the tomcat server
 
# profile the jsp on the tomcat server
 
# isolate the time spent in the jsp generated code and support libraries versus the tomcat server itself.
 
# isolate the time spent in the jsp generated code and support libraries versus the tomcat server itself.

Revision as of 17:44, 27 November 2007

TPTP Profiler users

  • Harm Sluiman

Usage scenarios

Requirements and set up

To run this simple two tier application follow these steps:

  1. Install a default image of Tomcat 5.5 or newer
  2. Put your JRE 1.5 or newer on the path and run the tomcat5.exe in the tomcat bin directory
  3. open the tomcat welcome page or go to http://127.0.0.1:8080/ for a local install.
  4. login with the default userid and pwd
  5. run some of the sample applications to confirm things work, and then try the JSP SVG sample. This will give show tell you how to run the sample.
  6. download and unzip a recent batik binary driver from Apache
  7. with your JRE on the path run java -jar batik-squiggle.jar and enter the url provided when running the earlier jsp sample

You now have a running two tier java application. This is all free open source so easy to install and recreate as needed. You can try all this out on one machine but clearly the two processes will affect each other so using two machines for more formal measurement is better and creates the need for remote monitoring using the profiler.

Most general case:

  1. profile the squiggly browser when running the Tomcat 5.5 SVG jsp example
  2. isolate the time spent in the batik code versus the browser code or on the network using the class/method statistics views in TPTP
  3. profile the jsp on the tomcat server
  4. isolate the time spent in the jsp generated code and support libraries versus the tomcat server itself.
  5. compare these result to an end user clock
  6. optionally create a TPTP URL test for repeated testing of the server code without needing the browser

Required features:

  1. tbd

Ideal profiler

Ideal profiler

Opened Bugzillas

none yet

Back to the top