use hl7_parser::ParsedMessage; fn main() { let message = include_str!("../test_assets/sample_adt_a01.hl7") .replace("\r\n", "\r") .replace('\n', "\r"); for _ in 0..100_000 { ParsedMessage::parse(message.as_str(), false).expect("can parse message"); } }