refactor benchmark runner
disable closure in benchmarks
use all cpu cores when building libraries in test runner