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
Update the fuse-box benchmark #26
Comments
My benchmark is only for full production builds. One of my main reasons for creating esbuild in the first place is to demonstrate that production builds don't have to be slow and to encourage existing bundlers to have faster production builds. I'm not worried about the speed of development builds. It's easy to make development builds fast because you don't need to transform the source code much. In some cases you don't need a bundler during development at all since browsers now support ES6 modules natively. This is the case in my benchmark, for example. It's great that you're working on a faster compiler! That's really exciting. However, I tried out Also the generated output is not valid JavaScript, so this doesn't count as a successful build for my benchmark:
I'm happy to update the version of FuseBox used in my benchmark when you have a new version that meets the requirements of the benchmark. |
@evanw fair enough. I will make sure it runs and minifies it, then we will update the bench. Thanks. |
I just updated the versions of all packages used in the benchmark and it looks like the latest version of |
Thanks! I will check what's wrong. Terser spoils the picture, it takes the longest time. But in the long run, I am myself considering doing some magic with GO. It would be really cool to use your minifier! Do you have any plans on splitting it into packages ? Like parser, printer, minifier ? |
I don't have any plans to do that at the moment. However, I do have a JavaScript API for transforming code using esbuild. It can be used to minify code if you pass |
Cool, thanks for that! But I was mainly interested in the GO part. Node.Js Is a Christmas toy compared to GO. |
@evanw is a basic, minimal go api ever going to be possible? |
Hi,
First of all, I would like to say I appreciate your effect and the project. Good Job! I love open source myself and love seeing people do some awesome stuff! Keep up!
That said, I would like to suggest to set up a proper benching for FuseBox with the latest version. The
@next
version is outdated since it has undergone a full a refactor and I am publishing it with thealpha
tagFuseBox now has its own custom compiler that managed to pass your bench in 6 seconds. And it will be even faster when we publish it.
If possible, could you include development builds?
Production versions are always slower for a reason. After all, development experience is what matters most.
Development run
Results:
Prod run
results:
I'd really appreciate the above-mentioned fixes to the benches and updated stats.
Thanks ;-)
The text was updated successfully, but these errors were encountered: