Sign inSign up

rrnewton/forkbench

By rrnewton

Updated over 8 years ago

Microbenchmark of parallel fork/spawn operations across several libraries and languages.

Image
1

1.0K

rrnewton/forkbench repository overview

forkbench

A simple, standalone parfib-like benchmark.

This benchmark performs a binary tree of strictly nested spawn/join pairs. Each benchmark is structured so as to take a parameter, N, and perform exactly N spawn join pairs.

Making the benchmark linear in its input parameter allows us to employ linear regression to accurately compute the exact per-spawn overhead in each implementation. It also lets us compare implementations with vastly different performance (e.g. threads versus tasks) which is difficult using a traditional parfib scheduler microbenchmark.

We use the criterion benchmarking tool to drive the benchmarks and perform the linear regression.

Tag summary

Content type

Image

Digest

Size

2.5 GB

Last updated

over 8 years ago

docker pull rrnewton/forkbench