closure-compiler VS minification-benchmarks

Compare closure-compiler vs minification-benchmarks and see what are their differences.

minification-benchmarks

๐Ÿƒโ€โ™‚๏ธ๐Ÿƒโ€โ™€๏ธ๐Ÿƒ JS minification benchmarks: babel-minify, esbuild, terser, uglify-js, swc, google closure compiler, tdewolff/minify (by privatenumber)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
closure-compiler minification-benchmarks
14 15
7,247 1,208
0.6% -
9.6 9.1
8 days ago about 4 hours ago
Java TypeScript
Apache License 2.0 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

closure-compiler

Posts with mentions or reviews of closure-compiler. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-16.

minification-benchmarks

Posts with mentions or reviews of minification-benchmarks. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-05.
  • Extremely reducing the size of NPM package
    2 projects | dev.to | 5 Aug 2023
    Minifiers are used to reduce the size of the bundle. They can remove unused code, shorten expressions, and so on. And Now there are already several popular minifiers, and they continue to appear: more familiar ones - written in JavaScript - Terser and UglifyJS, even Babel has its own version of the minifier, there are also more modern SWC (written in Rust) and ESBuild (written in Go), and a bunch of other lesser-known minifiers. And I recommend you to look at this repository. It contains up-to-date test results of various popular minifiers.
  • Minify and Gzip (2022)
    2 projects | news.ycombinator.com | 17 Jul 2023
    This minify/gzip size effect is a well known quirk to developers of javascript minifiers. The minifier's symbol mangling algorithm often has a more pronounced effect than does advanced AST optimization.

    This website has real life data on the matter for popular libraries:

    * https://github.com/privatenumber/minification-benchmarks

    Compare the trophies indicating smallest size for Minified versus Minzipped (gzip). Generally the smallest minified size yields the smallest minified+gzip size, but there are some notable anomolies outside the range of statistical noise. It is not practical for a javascript minifier to take a compression algorithm into account - it would blow up the minify timings exponentially.

  • Bun v0.6.0 โ€“ Bun's new JavaScript bundler and minifier
    9 projects | news.ycombinator.com | 16 May 2023
    It would be helpful to see how Bun's minifier compares to the others with popular libraries:

    https://github.com/privatenumber/minification-benchmarks

  • JS Uglify/Minify Gems?
    5 projects | /r/Jekyll | 22 Feb 2023
    JavaScript
  • Overview of the next-gen frontend dev tools
    4 projects | dev.to | 8 Nov 2022
    There are many minifiers such as terser and uglify. But, because minifying also require to parse the JS, it is actually possible to use esbuild and SWC to minify the code. Here's a benchmark of the main minifiers.
  • Overworld 1.0 is Live
    2 projects | /r/roguelikes | 3 Jun 2022
    Here's a comparison showing the major players with comparable stats at first glance. https://github.com/privatenumber/minification-benchmarks
  • Is anyone using Google Closure Compiler? And why not?
    5 projects | /r/webdev | 11 Dec 2021
    https://esbuild.github.io/ https://github.com/privatenumber/minification-benchmarks
  • Parcel v2
    5 projects | news.ycombinator.com | 13 Oct 2021
  • I never need webpack or babel anymore
    3 projects | dev.to | 27 Jul 2021
  • ๐Ÿงข Stefan's Web Weekly #6
    3 projects | dev.to | 14 Feb 2021
    privatenumber/minification-benchmarks โ€“ JS minification benchmarks: babel-minify, esbuild, terser, uglify-js

What are some alternatives?

When comparing closure-compiler and minification-benchmarks you can also consider the following projects:

swc - Rust-based platform for the Web

vite - Next generation frontend tooling. It's fast!

terser - ๐Ÿ—œ JavaScript parser, mangler and compressor toolkit for ES6+

esbuild - An extremely fast bundler for the web

V8 - The official mirror of the V8 Git repository

cash - An absurdly small jQuery alternative for modern browsers.

mocha-esbuild - Run tests with mocha compiled by esbuild

zepto - Zepto.js is a minimalist JavaScript library for modern browsers, with a jQuery-compatible API

fjb - fast javascript bundler :package:

npm-groovy-lint - Lint, format and auto-fix your Groovy / Jenkinsfile / Gradle files using command line

source-map-explorer - Analyze and debug space usage through source maps