Skip to content

Latest commit

 

History

History
 
 

README.md

Instructions for Creating a new Benchmark Release

  1. Update and commit the changes to the benchmark.

  2. Create a zip file of the directory, e.g:

    $ cd perf-automation/benchmarks
    $ zip -r unity-webgl-`git rev-parse --short=12 HEAD`.zip unity-webgl
    
  3. Figure out the sha256 hash and size:

    $ sha256sum unity-webgl-<hash>.zip
    $ du -b unity-webgl-<hash>.zip
    

    Note: On OSX instead of 'du' you can use:

    stat -f "%z bytes" unity-webgl-<hash>.zip
    
  4. Upload the zip as a Github release (click "Releases" on the gihub page). The tag and title should be unity-webgl-v1 (replace v1 with the next version number).

  5. Update the appropriate fetch task with the url, sha256 hash and size. Benchmark fetches are found here:
    https://searchfox.org/mozilla-central/source/taskcluster/ci/fetch/benchmarks.yml

  6. Update the local revision for running with the mach command here:
    https://searchfox.org/mozilla-central/source/testing/raptor/mach_commands.py

Matrix-React-Bench Updates

  1. Pull the code from this repo: https://github.com/jandem/matrix-react-bench

  2. Build it by following the instructions in the README.

  3. Copy the repo folder to benchmarks/ in this repo.

  4. Delete the folders and files:

    • benchmarks/matrix-react-bench/node_modules/.cache
    • benchmarks/matrix-react-bench/.git
    • benchmarks/matrix-react-bench/.git-ignore
  5. Commit the new code to the master branch in this repo, and follow the instructions for creating a new benchmark release.