Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: profile main process #441

Merged
merged 1 commit into from
Oct 19, 2022

Conversation

amilajack
Copy link
Contributor

@amilajack amilajack commented Oct 13, 2022

this pr enables palette's main process profiling and network tracing features. these features are secure and don't expose any personal information.

to the build working locally I had to bump sqlite3 and electron-rebuild to work around MadLittleMods/node-usb-detection#163. the bug prevents apple m1 machines from natively building node-gyp in certain scenarios.

I've packaged the app locally and confirmed everything works without errors :)

@vercel
Copy link

vercel bot commented Oct 13, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
leftonread-web ✅ Ready (Inspect) Visit Preview Oct 13, 2022 at 8:48PM (UTC)

@@ -1,4 +1,4 @@
/* eslint global-require: off, no-console: off, promise/always-return: off */
/* eslint global-require: off, no-console: off, promise/always-return: off, import/first: off */
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

disabled import/first here to allow properly ordering imports. palette needs to start the profiler before other imports, since they can impact startup performance.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Collaborator

@Teddarific Teddarific left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Teddarific Teddarific merged commit 72bd758 into Left-on-Read:main Oct 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants