Add a basic benchmark tool.

Demonstrate problem with array changes at start and end.