Simple /bin/sh CPU benchmark using bc on alpine image
10K+
Simplest benchmark sh script with minimal requirements (sh, time, bc)
A Dockerfile is provided.
The image automatically runs the benchmark, then quits.
Hosted also on Docker Hub.
Currently, computation of 5000 digits of pi using bc.
Taken from http://tuxshell.blogspot.ch/2009/08/bc-as-cpu-benchmark.html.
echo "scale=5000; a(1)*4" | bc -l
Content type
Image
Digest
Size
3 MB
Last updated
almost 9 years ago
docker pull lgaborini/benchmarkbash