Coder Social home page Coder Social logo

web-benchmark's Introduction

Web Benchmark -- Perform a web benchmark

SYNOPSIS
bin/wb.rb [options] http://www.yourdomain.com/

OPTIONS
  -h                   : Print this screen and exit
  -v                   : Be verbose
  -f                   : Perform a full test
  -a                   : Do not fetch assets
  -r requests          : The number of requests each visitor should perform on
                         average (default 3)
  -c visitors_count    : The number of visitors to launch (default 5)
  -C seconds           : The number of seconds to cool down in a full test
                         (default 10)
  -s seconds           : Sleep less then X seconds between requests. Specify
                         times 100 (default 2000 [= 20 seconds]).
                         Specify 0 if you don't want the visitors to sleep
                         between requests.


VISITORS
  The Web Benchmark simulates visitors to your online resource. It creates
  the number of specified visitors and they click random links on your page.

  Each visitor has a pre determined number of pages to visit around the
  number you have specified, where N = n [-|+] rand(n)  [n = specified nr]

  Each visitor has a seperate cache for assets and doesn't download an asset
  twice.


FULL TEST
  Wen performing a full test, the benchmark is conducted 3 times. First with
  only one visitor, to establish a base line.

  Then with half the visitors, and finally with all the visitors.

  You can set a cool down period between the tests. Between tests visitors and
  caches are destroyed

SETUP/INSTALL
  Run `bundle install`.

LICENSE
  This software is released under the MIT License. See LICENSE.txt for more
  details

BUGS/CAVEATS/TODO

  * This DOES NOT keep an eye on the load of the server you are benchmarking.
    You should!

  * Measured times are not fully accurate, althoug measurements are taken as
    close as possible to the requests, there is still code I don't control or
    own in there, but I think it can be neglected

  * When you use S3 (or any other CDN) for images, they to are collected. Still
    need to decide if that is a good or a bad thing

  * All the other caveats and need-to-knows for benchmarking websites apply

  * TODO : Post form data - would be rather nice for testing applications...

web-benchmark's People

Contributors

hdemik avatar

Stargazers

Hartog C. de Mik avatar

Watchers

Hartog C. de Mik avatar James Cloos 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.