First runtime performance benchmarks.

Review by @gzm0
how about naming this `idx`?