Skip to content

Instantly share code, notes, and snippets.

@MattOates
Last active December 15, 2017 21:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MattOates/370de15194eddabc4db1b2ac34932aba to your computer and use it in GitHub Desktop.
Save MattOates/370de15194eddabc4db1b2ac34932aba to your computer and use it in GitHub Desktop.
Get some numbers on % and X increases in performance since last Christmas
git log --since 2016-12-25 --oneline | perl6 -e 'say lines().grep(/(\d+\.?\d*?)\%(" "|$)/).map({/(\d+\.?\d*?)\%(" "|$)/; ~$/[0]}).sort.join("\n")' > %_increase.txt
git log --since 2016-12-25 --oneline | perl6 -e 'say lines().grep(/(\d+\.?\d*?)x(" "|$)/).map({/(\d+\.?\d*?)x(" "|$)/; ~$/[0]}).sort.join("\n")' > x_increase.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment