Skip to content

Instantly share code, notes, and snippets.

@jakebailey
jakebailey / benchmark.sh
Created October 26, 2022 04:25
TypeScript entrypoint startup time benchmark
#!/usr/bin/zsh
# Make sure that our branch-switch checks below don't skip the build.
git switch main >& /dev/null
npm ci >& /dev/null
gulp clean >& /dev/null
gulp local >& /dev/null
function bench() {
name=$1

Keybase proof

I hereby claim:

  • I am jakebailey on github.
  • I am jakebailey (https://keybase.io/jakebailey) on keybase.
  • I have a public key whose fingerprint is C714 C873 7BC4 FD06 99DD 433E 510A B14C E1F9 95C4

To claim this, I am signing this object: