Giter VIP home page Giter VIP logo

build-talos's Introduction

PREREQUISITES:
You'll need to download some software onto your machine before running
these performance tests:

  * Python 2.4
    The scripts all run from Python 2.4.  
    http://www.python.org/ftp/python/2.4/python-2.4.msi

  * Python Win32 Extensions (for windows only)
    These extensions provide some support for process management and
    performance monitoring.
    http://prdownloads.sourceforge.net/pywin32/pywin32-208.win32-py2.4.exe?download
     
  * Apache HTTP Server
    Found at http://httpd.apache.org/
    The page cycler works on a local Apache server.  After installing Apache simply place
    the page_load_test/ directory into htdocs/ directory of Apache (found on most systems
    at c:\Program Files\Apache Software Foundation\Apache2.2\htdocs)
    
  * PyYAML YAML Parser
    You'll need to download and install PyYAML from http://pyyaml.org/wiki/PyYAML

  * pageloader extension
    This is the component that actually cycles the test pages and collects the page load times.
    It's located in mozilla/layout/tools/pageloader, it can also be generated by
    mozilla/tools/buildbot-configs/testing/talos/perfmaster/scripts/generate-tpcomponent.py,
    run that script and place the contents of the chrome & components directories into the 
    matching directories of your browser

  1. Make sure the prerequisites, above, are installed.
  2. Edit sample.config to reflect your local settings for application path, etc.
  3. Provide a pages/ directory
     The page_load_test/ relies upon having a pages directory that includes the web pages
     to be cycled through.  Each directory in pages/ should be a given web page.  
     The page_load_test/manifest.js file needs to be edited to reflect the list of index pages of the web pages 
     that are to be tested - it is currently full of a sample list.
     If you do not have a pages directory comment out the tp & tp_js tests in the sample.config

  4. Run "python run_tests.py" with the name of your config file as an argument. 
     There are also available '--debug' and '--noisy' arguments

build-talos's People

Contributors

jmaher avatar wlach avatar avih avatar rhelmer avatar mstange avatar escapewindow avatar vaibhavmagarwal avatar bhearsum avatar nebelhom avatar mnoorenberghe avatar chmanchester avatar dblohm7 avatar byk avatar staktrace avatar vidyavnv avatar bsmedberg avatar heisenberg-- avatar neocatalyst avatar adusca avatar yoric avatar jsyeo avatar nthomas-mozilla avatar zachlipton avatar sambuddhabasu avatar philor avatar froydnj avatar mykmelez avatar mbrubeck avatar georgf avatar ehsan avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.