Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save gaybro8777/230da6dc15e60dc6c70cb5f435fbf4b0 to your computer and use it in GitHub Desktop.
Save gaybro8777/230da6dc15e60dc6c70cb5f435fbf4b0 to your computer and use it in GitHub Desktop.
Real-world benchmark results of UglifyJS v1 vs UglifyJS v2

Compressing 4 bundles with Pound (npm view pound) with JavaScript production code from https://redsmin.com


UglifyJS v1

  • times: 37720ms 36971ms
  • output size: 533Ko, 479Ko, 120Ko, 538Ko

UglifyJS v2

  • times: 75420ms 77914ms
  • output size: 529Ko, 476Ko, 119Ko, 534Ko
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment