});
}
private void preallocate(final int INITIAL_PAGE_COUNT) {
benchmark.setSetup(new Callback(){
public void run(TxPageFileFactory pff) throws Exception {
Transaction tx = pff.getTxPageFile().tx();
for (int i = 0; i < INITIAL_PAGE_COUNT; i++) {
int page = tx.allocator().alloc(1);
tx.write(page, new Buffer(THE_DATA));