Giter VIP home page Giter VIP logo

Comments (5)

evanw avatar evanw commented on April 28, 2024 2

I took a stab at this: 236194e. I'm not familiar with FuseBox and it took a while to figure out how to get it to work. I'm reluctant to benchmark against fuse-box@next because I'd like to pin the benchmark to a specific version to make it reproducible. So I tested the version you get when you follow the setup instructions which is [email protected].

I think I've set everything up right as far as I can tell, but FuseBox actually takes over 8 minutes on my benchmark. The generated file is 6.48mb which much bigger than the other bundlers (they are all around 5.9mb). The generated source map is also incorrect, so I'm not sure if it should actually count as a successful production build. I also had to raise the memory ceiling on node because FuseBox actually crashed with an out-of-memory error the first time it ran my benchmark.

I'm not adding these benchmark results to the readme yet because they are so far away from the other results that I'm concerned that I may be doing something wrong. Can someone who's familiar with FuseBox double-check my setup?

from esbuild.

evanw avatar evanw commented on April 28, 2024 1

Here's the result:

from esbuild.

joseluisq avatar joseluisq commented on April 28, 2024

FuseBox user here. It would be interesting to incorporate such benchmark especially against latest v4.x (fuse-box@next).

from esbuild.

evanw avatar evanw commented on April 28, 2024

Never mind. I think I'll go with fuse-box@next after all because the current release of FuseBox has too many problems. It looks like fuse-box@next at least generates a correct source map, and does so in a faster amount of time. It's still the slowest bundler with a 3 minute build, but that's a lot better than 8 minutes. The output is still much bigger than it should be at 6.55mb but that's a problem with FuseBox, not with this benchmark. I'll add it to the benchmark.

from esbuild.

joseluisq avatar joseluisq commented on April 28, 2024

Cool!
It would be also interesting for the fuse-box folks. fuse-box/fuse-box#1539

from esbuild.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.