-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #143 from krassowski/feat/integrate-profiler
Integrate ui-profiler, improve dispatch, separate jlpm/yarn
- Loading branch information
Showing
20 changed files
with
16,306 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
name: JupyterLab UI Profiler | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
challenger: | ||
description: "JupyterLab Git repository with the challenger version (format {owner}/{repo})" | ||
required: true | ||
default: "jupyterlab/jupyterlab" | ||
challenger_branch: | ||
description: "Git repository reference to the challenger branch" | ||
required: true | ||
default: "master" | ||
challenger_project: | ||
description: "Playwright project to execute (windowingMode JupyterLab 4; renderCellOnIdle: JupyterLab 2.3 or 3.x)" | ||
required: false | ||
default: "jupyterlab" | ||
type: choice | ||
options: | ||
- jupyterlab | ||
- jupyterlab-renderCellOnIdle-on | ||
- jupyterlab-renderCellOnIdle-off | ||
- jupyterlab-windowingMode-full | ||
- jupyterlab-windowingMode-defer | ||
- jupyterlab-windowingMode-none | ||
- jupyterlab-1-2 | ||
- retrolab | ||
- testing | ||
reference_branch: | ||
description: "Reference branch on the JupyterLab repository (default: master)" | ||
required: false | ||
default: "master" | ||
reference_project: | ||
description: "Playwright project to execute on the reference version" | ||
required: false | ||
default: "" | ||
type: choice | ||
options: | ||
- jupyterlab | ||
- jupyterlab-renderCellOnIdle-on | ||
- jupyterlab-renderCellOnIdle-off | ||
- jupyterlab-windowingMode-full | ||
- jupyterlab-windowingMode-defer | ||
- jupyterlab-windowingMode-none | ||
- jupyterlab-1-2 | ||
- retrolab | ||
- testing | ||
browser: | ||
description: "Which browser to use (default 'chromium')" | ||
required: false | ||
default: "chromium" | ||
type: choice | ||
options: | ||
- chromium | ||
- firefox | ||
- webkit | ||
samples: | ||
description: "Number of samples to compute (individual tests multiply this number by their a test-speicific factor)" | ||
required: false | ||
default: "25" | ||
type: string | ||
grep: | ||
description: "Tests to include (grep expression)" | ||
required: false | ||
default: "" | ||
type: string | ||
grep_invert: | ||
description: "Tests to skip (grep expression). Benchmarking individual rules requires a lot of time (reduce number of samples!)" | ||
required: false | ||
default: "rules" | ||
type: string | ||
|
||
permissions: | ||
issues: write | ||
|
||
jobs: | ||
test: | ||
# uses: jupyterlab/benchmarks/.github/workflows/run-profiler.yml@master | ||
uses: ./.github/workflows/run-profiler.yml | ||
with: | ||
challenger: ${{ github.event.inputs.challenger || 'jupyterlab/jupyterlab' }} | ||
challenger_branch: ${{ github.event.inputs.challenger_branch || 'master' }} | ||
challenger_project: ${{ github.event.inputs.challenger_project || 'jupyterlab' }} | ||
reference_branch: ${{ github.event.inputs.reference_branch || 'master' }} | ||
reference_project: ${{ github.event.inputs.reference_project || 'jupyterlab' }} | ||
browser: ${{ github.event.inputs.browser || 'chromium' }} | ||
samples: ${{ github.event.inputs.samples || '25' }} | ||
grep: ${{ github.event.inputs.grep || '' }} | ||
grep_invert: ${{ github.event.inputs.grep_invert || '' }} | ||
artifacts_name: 'profiler-report' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.