RockStar Web Profiler (codename "Razor", or called "Razor Web Profiler" sometimes) The instructions included in this page are to get started using the locally installed Profiler. An online version can be used with any publicly accessible Web page, here.
Table of contents
--------------------2. Install
3. Uninstall
4. Run Razor
5. Questions/Comments
Razor Web Profiler is a tool for 3-dimensional performance analysis of web applications.
Out of the box, Razor is bundled with Jetty 5.14. It runs as a web application inside this Jetty instance which is configured to listen to port 9090 by default. "Razor Server" refers to this Jetty instance. After you started the server, go to a browser and visit http://localhost:9090 to launch Razor UI.
In order to run Razor Server, you must have a Java Runtime Environment(JRE) installed.
Follow these two steps to install Razor Web Profiler:
- Razor Profiler is disributed as a ZIP file. Download a ZIP distribution from Download Razor Web Profiler;
- Extract the zip file into a directory(e.g. C:\program files). You will see a "razor" sub-folder created. Let's call this new folder $RAZOR_HOME for reference purpose. If you don't have a zip extractor, please download Winzip here.
In addition, make sure that you have Java set up on your system. This is required by Jetty.
- Most likely you have JRE installed on your system already. For Windows user, go check folder C:\Program Files\Java to see if there is any subfolder whose name starts with "jre" or "jdk";
- If you don't have Java installed already, go download Java Runtime Environment(JRE) or Java Development Kit (JDK), release version 5.0 or later, from http://java.sun.com/j2se. Install the Java download;
- Make sure that Java is accessible from command line by adding the Java directory to your "PATH" environment variable. This Java directory is typically something like "C:\Program Files\Java\jre1.6.0_03" on Windows and "/usr/local/java/j2sdk5.0" on Unix. If you don't know how to modify an environment variable, google it;
Locate the folder where Razor is installed and delete it.
Run Razor
----------------------
Running Razor is a two-step progress. Start up Razor Server first, and then visit URL http://localhost:9090. Follow details below: - Startup Razor Server:
- Open a Command Prompt window and go to the $RAZOR_HOME directory.
- In the $RAZOR_HOME directory, Run the following commands:
startup.bat (Windows)
startup.sh (Unix) (Java must be accessible from $RAZOR_HOME directory. If not, see above on setting up "PATH" environment variable.)
- After Razor Server startup, launch a browser instance and visit URL http://localhost:9090. If you see Razor UI in the browser, Congratulations! Now you have Razor running!




