GoogleChromeLabs / estimator.dev

🧮 Calculate the size and performance impact of switching to modern JavaScript syntax.
https://estimator.dev
Apache License 2.0
665 stars 23 forks source link

Stuck at processing one bundle for a website #12

Open mohsinulhaq opened 3 years ago

mohsinulhaq commented 3 years ago

https://estimator.dev/#cure.fit

jmcpeak commented 3 years ago

Same issue https://estimator.dev/#dev2ontrac.payrailzdev.com/

andreydrozd-smfe commented 3 years ago

Mine hangs up on a dependency being downloaded from an iframe (vimeo).

https://estimator.dev/#smallexchange.com

developit commented 3 years ago

This is bound to happen for very large JavaScript bundles. I've just updated the service to explicitly prevent bundles larger than 2MB (uncompressed), and there is now an execution time limit of 30 seconds. Processing JavaScript to try to convert it back to ES2017 is extremely resource-intensive, and multi-megabyte bundles are just too slow to analyze.

The other possibility is that there's an unhandled exception - certainly a thing that can happen, I have found a few that will be getting fixed shortly.

guidezpl commented 3 years ago

I think https://estimator.dev/#flutter.dev also fits the bill for an unhandled exception

gangsthub commented 3 years ago

Keep trying! Eventually, it loaded everything! https://estimator.dev/#bibliography.com

dhAlcojor commented 3 years ago

I've been trying with different websites, reloading them several times... It never finishes a single analysis, there are always files that keep loading forever.

cjones26 commented 2 years ago

Best course of action is to just clone it locally and run from there. There are instructions in the README! Very cool tool, BTW, thanks everyone who contributed to this project.