-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Electron startup performance measurement script
- refactor a reusable module out of the startup measurement script - create a new script to measure Electron start-up performance - rename the measure-performance.js script to indicate that it measures the browser app specifically - add an --app/-a option to the extension-impact script to drive the Electron app as an alternative to the Browser app. Includes a bit of refactoring of this script and the app package template - incidentally fix the extension-impact.js stepping over itself trying to run the app while building it (was missing an await) Contributed on behalf of STMicroelectronics. Co-authored-by: Stefan Dirix <[email protected]> Signed-off-by: Christian W. Damus <[email protected]>
- Loading branch information
Showing
11 changed files
with
607 additions
and
120 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
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 |
---|---|---|
|
@@ -3,3 +3,4 @@ workspace | |
*.csv | ||
*.json | ||
!base-package.json | ||
!electron-trace-config.json |
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 |
---|---|---|
@@ -1,31 +1,37 @@ | ||
{ | ||
"private": true, | ||
"name": "@theia/example-browser", | ||
"version": "1.18.0", | ||
"name": "@theia/example-{{app}}", | ||
"version": "{{version}}", | ||
"license": "EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0", | ||
"theia": { | ||
"target": "{{app}}", | ||
"frontend": { | ||
"config": { | ||
"applicationName": "Theia Browser Example", | ||
"applicationName": "Theia {{app}} Example", | ||
"preferences": { | ||
"files.enableTrash": false | ||
} | ||
} | ||
}, | ||
"backend": { | ||
"config": { | ||
"resolveSystemPlugins": false | ||
} | ||
} | ||
}, | ||
"dependencies": { | ||
"@theia/core": "1.18.0", | ||
"@theia/plugin-ext": "1.18.0" | ||
"@theia/core": "{{version}}", | ||
"@theia/plugin-ext": "{{version}}" | ||
}, | ||
"scripts": { | ||
"clean": "theia clean", | ||
"build": "yarn compile && yarn bundle", | ||
"bundle": "theia build --mode development", | ||
"compile": "tsc -b", | ||
"rebuild": "theia rebuild:browser --cacheRoot ../..", | ||
"rebuild": "theia rebuild:{{app}} --cacheRoot ../..", | ||
"start": "yarn rebuild && THEIA_CONFIG_DIR=./theia-config-dir theia start --plugins=local-dir:../../noPlugins --log-level=fatal" | ||
}, | ||
"devDependencies": { | ||
"@theia/cli": "1.18.0" | ||
"@theia/cli": "{{version}}" | ||
} | ||
} |
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.