Home Requirements

Poll

Razor Profiler Feedback
 

Who's Online

We have 12 guests online

Blog Entries

Requirements PDF Print E-mail
Thursday, 31 July 2008 11:41

Razor Server:

  • J2EE Servlet Engine. Razor Profiler must be installed as the "ROOT" application of the servlet engine.
  • By default, Razor Profiler is bundled with a Tomcat instance.

Browser Requirements:

Razor is designed to run cross-browser so that it can profile your application on different browsers. The following browsers have been tested so far:
  • FireFox 1.x, 2.x
  • Internet Explorer 6.x, 7.x
  • Safari 3.x
  • Google Chrome

Given that Razor acquires and processes a large amount of data (application runtime profiling can easily generate megabytes of data) in the browser (Razor itself is a browser-based Ajax application), we recommend the following client hardware requirements:

  • Minimum 1GB memory
  • Minimum 1GHz CPU
Your application will perform slower than usual during profiling. This is normal because Razor is doing a lot of processing at your application run time.



Application Requirements:

  • The application must contain JavaScript code, and such script code must be served from external JavaScript files instead of being embedded into HTML pages directly. Razor ignores JavaScript code that is embedded in an HTML page (Parsing HTML pages and extracting the JavaScript code can create significant burden on Razor Server and thus is ignored in the current release).

    If you have JavaScript snippets embedded in your HTML page and you would like to use Razor to analyze such code, just save the code in a separate JavaScript file and replace the "<script>" declaration with a reference to this external JavaScript file.
  • The URL reference to your external JavaScript file must be a "relative" URL (can not start with HTTP or HTTPS). This means:
    • The external script files must reside on the same web server as your HTML pages;
    • You must not use JavaScript files' full HTTP URL for your script declarations in your HTML document (e.g., can not start with HTTP or HTTPS). This is because web browsers and web servers will handle full URLs directly by by-passing the Razor Server, and thus Razor Server will not be able to process such files. For example, instead of using:
      <script type="text/javascript" src="http://server/js/code1.js"> </script>
      
      you should use:
      <script type="text/javascript" src="/js/code1.js"> </script>
      
Last Updated ( Wednesday, 05 November 2008 20:06 )
 

Add your comment

Your name:
Your email:
Your website:
Subject:
Comment (you may use HTML tags here):