Giter Club home page Giter Club logo

rustc-perf's Introduction

rustc-perf

This is the website for Rust compiler performance monitoring. The website contains a backend to process the raw data and expose it to the frontend, which displays graphs to the user.

https://github.com/rust-lang-nursery/rustc-timing contains the raw data from which rustc-perf pulls.

https://github.com/rust-lang-nursery/rustc-benchmarks runs elsewhere and performs the tests whose results rustc-perf displays, then pushes them to the timings repo.

Setup

Apache can also be omitted from the setup, in which case the backend will function normally on either port 2346, or the port given by the environment variable PORT.

sudo apt-get install apache2 git
git clone https://github.com/rust-lang-nursery/rustc-perf.git /var/www/html/
cd /var/www/html/rustc-perf
git clone https://github.com/rust-lang-nursery/rustc-timing.git data

The following lines in /etc/apache2/sites-enabled/000-default.conf allow the frontend in its current configuration to get data from the API.

The proxy_http module also needs to be enabled, which can be done via a2enmod proxy_http.

    ProxyPass / http://localhost:2346
    ProxyPassReverse / http://localhost:2346

The backend currently depends on a POST request being sent to the /perf/onpush URL (with above configuration) when new data is made available in the timings repo. This will intiate a git pull in the timings repo directory passed on startup.

Launching

It can be run with the following command:

cargo run --release data

rustc-perf's People

Contributors

daytonjallen avatar edunham avatar jonhoo avatar mark-simulacrum avatar nrc avatar

Watchers

 avatar  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.