Skip to content

Instantly share code, notes, and snippets.

@fjaell

fjaell/bash-dash Secret

Created February 10, 2015 18:34
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 fjaell/12bb6d38f87e32c219d8 to your computer and use it in GitHub Desktop.
Save fjaell/12bb6d38f87e32c219d8 to your computer and use it in GitHub Desktop.
Elapsed real time in seconds needed to build ports with
bash resp. dash symlinked to /bin/sh
total build time
port bash dash a) b) c)
-------------------------------------------------------
core/gawk 30.00 27.80 1.08 2064 74
core/gcc 4127.34 4006.20 1.03 84405 21
core/util-linux 76.56 67.60 1.13 5954 88
core/libmpfr 59.19 53.90 1.10 4025 75
core/openssl 122.47 122.52 1.00 1496 12
core/libpcre 34.61 33.76 1.03 1100 33
xorg/mesa3d 1150.69 852.84 1.35 362548 425
a) ratio bash/dash build time
b) number of new sh starts for the build measured with
kernel's BSD accounting and GNU acct
c) number of new sh starts each second
Test machine was a Intel(R) Core(TM) i5-4200U CPU @ 1.60GHz
with 8G RAM, compilation takes place in a tmpfs without
parallel make jobs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment