Clone this repo:

Branches

  1. 099587c Roll public/web-tests/main/ 02333347d..a1d0f1fa3 (1 commit) by Kameron Lutes · 10 hours ago main
  2. 84d790b Roll public/web-tests/main/ c72c152da..02333347d (3 commits; 1 trivial rolls) by Kameron Lutes · 14 hours ago
  3. 280bf8f Roll public/web-tests/main/ bcb57d514..c72c152da (129 commits; 1 trivial rolls) by Kameron Lutes · 34 hours ago
  4. 53db546 Roll JetStream main from 0976ddeae086 to 1ba30314e6ca (1 revision) by chromium-autoroll · 4 days ago
  5. 9315d50 Roll JetStream v2.0-custom from 89222dc42940 to 36ca17c17d5e (1 revision) by chromium-autoroll · 11 days ago

Chromium Workloads

This is the source for the chromium workloads page. We keep copies and versions of common press benchmarks and other statically hosted workloads here.

Workloads might have custom licenses that can be found in their respective folders.

It consist of 3 parts:

  • The workloads.json description file with all workloads.
  • Workloads (e.g. existing press benchmarks) in the public folder.
  • The html / javascript code to display the data from workloads.json.

Workloads

If possible workloads are DEPS-rolled from single-version branches. on forked repositories on https://chromium.googlesource.com.

LICENSEs are part of the respective workloads or workload versions.

Sources

Setup ⚒️

mkdir web-workload && cd web-workload;

# Checkout using depot_tools's fetch command:
fetch web-workload;
cd web-workload

# Setup firebase login:
# - Install the firebase cl: https://firebase.google.com/docs/cli#install_the_firebase_cli
# - Setup firebase:
./setup.sh

Deployment 🚀

chromium-workloads is hosted on firebase.

  • Use stage-main.sh to stage a testing version for the main page on temporary domain (can be used for testing freely)

Danger Zone 😱

Update and Redeployment

  • git pull
  • gclient sync
  • Testing:
    • ./stage-main.sh
    • Quickly manually very that main page and benchmark versions load correctly.
    • Run the latest tracked benchmark versions.
  • Deployment:
    • Deploy using ./deploy-main.sh
    • Also deploy the subdomain hosting ./deploy-subdomains.sh

Emergency Rollback 😰

In case of a broken deployment we can manually restore an old version via the firebase console. firebase console

  • Open the firebase console
  • Open “Hosting”
  • “View” main “chromium-workloads” site
  • “Restore” one of the “Previous releases”