Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lvce-editor/main-process
Main Process
https://github.com/lvce-editor/main-process
electron lvce-editor
Last synced: 2 days ago
JSON representation
Main Process
- Host: GitHub
- URL: https://github.com/lvce-editor/main-process
- Owner: lvce-editor
- License: mit
- Created: 2024-12-23T07:41:24.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-12-23T11:10:16.000Z (2 months ago)
- Last Synced: 2025-01-30T13:48:03.151Z (22 days ago)
- Topics: electron, lvce-editor
- Language: TypeScript
- Homepage:
- Size: 334 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# main-process
The `main-process` is a NodeJS process that runs Electron.
- `main-process` is created when the Electron application is launched
- `main-process` can create Windows using Apis from Electron.
- `main-process` spawns `shared-process`
- `main-process` and `shared-process` can communicate via ipc## Profiling the main process
```sh
killall electron &&
npx electron --wait src/profile.js
```This will create a `profile.cpuprofile` file, which can be loaded inside the chrome devtools performance panel.