diff --git a/test/benches/prisma.rs b/test/benches/prisma.rs index 9971ef2..0ab7af1 100644 --- a/test/benches/prisma.rs +++ b/test/benches/prisma.rs @@ -30,12 +30,8 @@ datasource db { }); b.iter(|| { - let mut buf = Vec::with_capacity(10); - for _ in 0..10 { - let mut r = byte_reader::Reader::new(SCHEMA.as_bytes()); - buf.push(Schema::parse(&mut r)) - } - buf + let mut r = byte_reader::Reader::new(SCHEMA.as_bytes()); + Schema::parse(&mut r) }) }