Clone this repo:

Branches

  1. 1112f28 Roll WebAI Compute Benchmark from 253976fce9a0 to c820a0ab9833 (2 revisions) by chromium-autoroll@skia-public.iam.gserviceaccount.com · 9 hours ago main
  2. c0685f3 Roll WebAI Compute Benchmark from 6521ac8afa5a to 253976fce9a0 (1 revision) by chromium-autoroll@skia-public.iam.gserviceaccount.com · 4 days ago
  3. 7b71a33 Roll WebAI Compute Benchmark from b83181a543b3 to 6521ac8afa5a (2 revisions) by chromium-autoroll@skia-public.iam.gserviceaccount.com · 7 days ago
  4. c1be76f Roll WebAI Compute Benchmark from c084dca34daf to b83181a543b3 (1 revision) by chromium-autoroll@skia-public.iam.gserviceaccount.com · 7 days ago
  5. 91143aa Roll WebAI Compute Benchmark from 62038db5aebe to c084dca34daf (4 revisions) by chromium-autoroll@skia-public.iam.gserviceaccount.com · 7 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”