First runtime performance benchmarks.

Review by @gzm0
Maybe call this `idx`