Created
December 19, 2017 14:19
-
-
Save dginev/7bb133823d2f9490de32bbeb41f56961 to your computer and use it in GitHub Desktop.
Speed up Perl test runs on modern CPUs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add this line to your ~/.bashrc file, or equivalent for your Linux distribution | |
export HARNESS_OPTIONS=j$(grep -c ^processor /proc/cpuinfo):c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
E.g. on a threadripper 1950x, this will run the Perl test harness with
j32
jobs, leading to e.g. a ~5x speedup for the LaTeXML test suite - from 167s to 38s