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
docs: Performance checklist #20230
docs: Performance checklist #20230
Conversation
This seems fairly comprehensive, and it covers a lot of the things I've run into in the past. A few more things that it might make sense to add:
It might also be interesting to talk about the differences in user expectations between a website and a desktop app. I think most people have gotten used to websites being somewhat slow, but don't have the same expectations for desktop apps, so if you're working with Electron for the first time, you may need to focus on performance more than you would in the past. |
I wouldn't recommend this this point blank. There are significant cons to this, namely version drift and the fact that updating your website now means you have to update your app as well. Their are significant pros and cons to live-loading and shipping in-app and I don't think we can recommend one without a comprehensive list of those pros and cons which I don't think belongs in this document.
👍 Especially on windows, file system ops are slow ™️
Mentioning putting things into |
Really great stuff @felixrieseberg! This is going to make a massive impact. Just some stuff that comes to mind when reading:
|
Co-Authored-By: Charles Kerr <ckerr@github.com>
Co-Authored-By: Charles Kerr <ckerr@github.com>
Co-Authored-By: loc <andy@slack-corp.com>
Co-Authored-By: loc <andy@slack-corp.com>
…lectron into performance-checklist
## Checklist | ||
|
||
Chances are that your app could be a little leaner, faster, and generally less | ||
resource-hungry if you attempt these steps. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1 through 6 are titled as things you should not do, 7 is something you should do. Combined with "attempt these steps" above, it seems like all things you should do, so maybe rewrite the intro line to:
Chances are that your app could be a little leaner, faster, and generally less
resource-hungry if you review the following checks.
Or change the titles of 1 through 6 to be the thing you should do, which is mostly adding "Don't" in front of the current titles.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great! My comments are mostly grammatical / formatting.
Co-Authored-By: Mark Lee <malept@users.noreply.github.com>
Co-Authored-By: Mark Lee <malept@users.noreply.github.com>
Co-Authored-By: Mark Lee <malept@users.noreply.github.com>
Co-Authored-By: Mark Lee <malept@users.noreply.github.com>
Co-Authored-By: Mark Lee <malept@users.noreply.github.com>
Co-Authored-By: Mark Lee <malept@users.noreply.github.com>
Co-Authored-By: Mark Lee <malept@users.noreply.github.com>
Release Notes Persisted
|
This needs to go into the 7-0-x branch for it to be deployed to the website, right? (Ignoring the fact that it's not in the docs index page yet...) |
/trop run backport-to 8-x-y |
The backport process for this PR has been manually initiated, |
I was unable to backport this PR to "8-x-y" cleanly; |
/trop run backport-to 7-0-x |
The backport process for this PR has been manually initiated, |
I have automatically backported this PR to "7-0-x", please check out #20757 |
Description of Change
This PR introduces a performance checklist. It's a bit self-documenting, but I'd like to highlight that it's not meant to be prescriptive or exhaustive.
For internal discussion, see
#proj-performance-docs
.Checklist
Release Notes
Notes: Added a performance checklist