hammer icon indicating copy to clipboard operation
hammer copied to clipboard

Benchmark

Open thiagodp opened this issue 3 years ago • 2 comments

In a near future, it would be nice to see a comparison among Hammer and other build tools, like bundless is doing. Maybe a fork that could cover the corresponding commands in Hammer.

thiagodp avatar Jun 08 '21 20:06 thiagodp

@thiagodp Hi,

Yeah, maybe. But bear in mind that Hammer is mostly a thin automation layer over the top of esbuild. There isn't really too much to measure performance wise (except measuring esbuild itself).

The only file processing Hammer does outside of esbuild is a small transformation on HTML documents that substitutes ts files for built js files in <script> tags. The only other thing Hammer does is copy files referenced in the HTML document into the dist directory, so there's not much going on there :)

Happy for some benchmarks to be written though.

sinclairzx81 avatar Jun 08 '21 21:06 sinclairzx81

Here's a HN discussion in that regard: https://news.ycombinator.com/item?id=28860713&utm_term=comment

dirkk0 avatar Oct 16 '21 09:10 dirkk0