Benchmark registry optimisation.
Major improvements on allocator.