Benchmark with a sequence of allocations

Sequence can be provided as anarray, or read from file.