Skip to content

Instantly share code, notes, and snippets.

@ziozzang
Last active January 13, 2016 14:22
Show Gist options
  • Save ziozzang/e60cca9f36e5d74b2da6 to your computer and use it in GitHub Desktop.
Save ziozzang/e60cca9f36e5d74b2da6 to your computer and use it in GitHub Desktop.
Kernel compile benchmark by one line
VER=4.4 && wget https://www.kernel.org/pub/linux/kernel/v4.x/linux-${VER}.tar.gz && tar -xzf linux-${VER}.tar.gz && rm -f linux-${VER}.tar.gz && cd linux-${VER} && make defconfig && time make -j `cat /proc/cpuinfo | grep processor | wc -l` && cd .. && rm -rf linux-${VER}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment