public void Setup() { consumer = new Consumer(); record = new DataRecord(); // warmup for static constructor consumer.Consume(PrimitiveFillerBefore.GetReaderValue <int>(record, 0)); // to be fair consumer.Consume(PrimiteTypeFillerAfter.GetReaderValue <int>(record, 0)); }