NOT MAINTAINED ANYMORE! New project is located on https://github.com/mozilla-frontend-infra/js-perf-dashboard -- AreWeFastYet is a set of tools used for benchmarking the major browser's JavaScript virtual machines against each other, as well as reporting the results on a website as insightful graphs showing the evolution of performance over time.
Перейти к файлу
AreWeFastYet 07a3554356 Re-added the navigation menu. 2012-11-30 11:43:41 +00:00
database Remove unused cpu/os columns in the fast_run database, and introduce awfy_machine table instead. 2012-11-29 23:15:15 +00:00
driver Remove unused cpu/os columns in the fast_run database, and introduce awfy_machine table instead. 2012-11-29 23:15:15 +00:00
historical Moved stuff around, updated frontpage.py. 2012-11-28 08:29:35 +00:00
server Export condensed and raw month data to JSON. 2012-11-30 09:45:30 +00:00
website Re-added the navigation menu. 2012-11-30 11:43:41 +00:00
README Remove unused cpu/os columns in the fast_run database, and introduce awfy_machine table instead. 2012-11-29 23:15:15 +00:00
style.css Added hovertip support back, now with dragging. 2012-11-29 07:00:04 +00:00

README

The latest AWFY is five components:
 (1) MySQL database that stores statistics.
 (2) Hidden PHP script on the webserver, where stats get sent.
 (3) Python driver that runs on each benchmark computer, and submits stats.
 (4) Python aggregator that builds JSON data from the DB.
 (5) Static HTML as the frontpage, that queries JSON via XHR.

NOTE: (2), (3), and (5) must be on the same webserver, otherwise timestamps
might not be computed correctly.

######### SET UP ##########
Setting up (1):
  Run database/schema.sql

Setting up (2):
  Drop website/UPDATE.PHP and website/internals.php somewhere, and
  rename UPDATE.PHP to something secret.

Setting up (3):
  I set it up like:
   mkdir awfy
   cd awfy
   svn checkout http://v8.googlecode.com/svn/branches/bleeding_edge/ v8
   svn checkout https://svn.webkit.org/repository/webkit/trunk WebKit
   hg clone http://hg.mozilla.org/integration/mozilla-inbound
   mkdir driver
   cp <awfy-src>/driver/* driver/
   cd driver
   hg clone http://hg.mozilla.org/projects/kraken
   svn checkout http://v8.googlecode.com/svn/trunk/benchmarks v8-v7
   svn checkout https://svn.webkit.org/repository/webkit/trunk/PerformanceTests/SunSpider
   
  (a) Add a database entry for the machine configuration.
  (b) Edit driver/awfy.config to match the build architecture you want, and machine
      database entry.
  (c) Add a cronjob to run dostuff.py periodically. AWFY.com runs every 30min.

Setting up (4):
  Put awfy-server.config in /etc/, edit it to point at your database and 
  website/data folder. Then put frontpage.py in a cronjob. It will dump files
  where appropriate. AWFY.com does this every 15min.

Setting up (5):
  Nothing special needed. Note that our flot is slightly modified, so it
  might not work to just replace it.