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

Is there a universally established good & easy way to determine how resource heavy your app is? #3

Open
mantagen opened this issue Nov 9, 2015 · 2 comments
Labels

Comments

@mantagen
Copy link
Member

mantagen commented Nov 9, 2015

Or your react component or your function etc?

@nelsonic
Copy link

nelsonic commented Nov 9, 2015

@mantagen Yes,
the simplest way is to check the size of the "bundle" you are forcing users to download to render the initial page in your app...
Check the memory/resource profile for your app in Chrome Devtools: https://developer.chrome.com/devtools/docs/timeline
And if you want a better simulation of 3G you'll need to throttle the connection:
https://developer.chrome.com/devtools/docs/device-mode#network-conditions

Generally speaking if you are Browserifying/WebPacking code you're going to need to be a magician to make it perform well (compared to hand coding something simple...)

@mantagen
Copy link
Member Author

mantagen commented Nov 9, 2015

Thanks @nelsonic , leaving this open in case any one else would like to add anything 😸

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants