or download this
$ for i in 16 20 30 40 60 100 200 400 1000 3000 10000; do echo $i; ./b
+itstrstr test.dat 100000000 $i 10; done
16
...
needle found at 100000000, expected at 100000000 in 0.9/10 = 0.09ms
10000
needle found at 100000000, expected at 100000000 in 0.4/10 = 0.04ms