Closed tolmasky closed 5 years ago
It's a closed source app.
Would be great to have a large scale open source application that uses standard JS and various other asset types so it could be compiled with various bundlers for somewhat realistic benchmarks.
However it's pretty much impossible to benchmark/compare bundlers reliably.
I have some interest in potentially putting together a "standard" app to use for benchmarking, so that perhaps you could target it in CI and keep the page transparently up-to-date? Would you mind sharing a few details used for this closed source app to help me put together something reasonable? Specifically:
At the end of the day, I'd like to get as close as possible to generating something that matches the "results" of the one on the website, as I imagine that is something that would be uncontroversial results-wise.
In general, this wasn't meant to be a "benchmark" per se, but an example of the kind of performance characteristics you might be able to expect. That said, an actual benchmark might be useful. I think any sort of large app which makes use of modern web app tooling like babel, etc. would work.
The app in question is an app I worked on in a previous job.
Also, to be fair, I think the results of the example are pretty outdated at this point since I haven't updated them since the initial parcel release over a year ago. So that would be Parcel 1.0, Webpack 3 (maybe?), and whatever Browserify version was around at that time. I'm sure the results would be different if measured today.
Yeah, that's one of the things I'd like to attack (again, no promises on actually accomplishing this goal). My general impression is it would be nice to have a TodoMVC of bundling, in the sense of getting some sort of feeling as to what particular areas are being optimized (size, vs. speed, vs. refresh likelihood like we discussed on twitter a few days ago). I've certainly run into many issues that are difficult to explain without "hey look at my app" -- so it would be nice to be able to make the example extensible. Additionally, having something akin to an "integration" test for performance, vs. "unit test" style individual metrics, would be nice.
Sounds good. One app I've seen before that tried to accomplish some of those goals is https://github.com/gothinkster/realworld. Not sure if you've seen it.
Going to close this issue since it isn't really an issue with Parcel. But feel free to start a thread on Spectrum for further discussion.
Is there a link to the "reasonably sized app, containing 1726 modules, 6.5M uncompressed."? Would like to run some comparisons and would prefer to use whatever you consider in your own benchmarks.