Skip to content

Instantly share code, notes, and snippets.

@enjikaka
Last active February 28, 2018 09:42
Show Gist options
  • Save enjikaka/435669393db26c9fa6314d5658e99af7 to your computer and use it in GitHub Desktop.
Save enjikaka/435669393db26c9fa6314d5658e99af7 to your computer and use it in GitHub Desktop.
Timing differences between Webpack 3.9.0 and Webpack 4.0.0

Timing differences between Webpack 3.9.0 and Webpack 4.0.0

TL;DR

Webpack 3.9.0: 5.3287 minutes

Webpack 4.0.0: 3.86826667 minutes

Webpack 3.9.0

Install dependencies

Command: time yarn

Time: 31.19s user 34.50s system 148% cpu 44.142 total

Total time: 44.142 seconds

Build production app

Command: time yarn web:webpack

Time: 132.79s user 4.33s system 108% cpu 2:06.32 total

Total time: 2 minutes 6.32 seconds

Run karma for production

Command: time yarn karma:prod

Time: 147.89s user 6.30s system 103% cpu 2:29.26 total

Total time: 2 minutes 29.26 seconds

Total: 5.3287 minutes

Webpack 4.0.0

Install dependencies

Command: time yarn

Time: 33.26s user 46.46s system 199% cpu 40.046 total

Total time: 40.046 seconds

Build production app

Command: time yarn web:webpack

Time: 104.49s user 5.22s system 161% cpu 1:07.77 total

Total time: 1 minute 7.77 seconds

Run karma for production

Command: time yarn karma:prod

Time: 127.30s user 6.23s system 107% cpu 2:04.28 total

Total time: 2 minutes 4.28 seconds

Total: 3.86826667 minutes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment