Skip to content

Instantly share code, notes, and snippets.

View fmaclen's full-sized avatar

Fernando Maclen fmaclen

View GitHub Profile
@fmaclen
fmaclen / webpack_benchmark.rb
Created May 5, 2020 23:50
Compares the time difference when running webpack between 2 sets of changes/branches
# frozen_string_literal: true
# Instructions
# 1- Copy this file to /tmp
# 2- Switch to the baseline branch
# 3- Run "ruby webpack_benchmark.rb"
# 4- Switch branches and run this script again
require 'benchmark'