From 23dbf36c7dfcbb43a0def2642287c2fb30864a07 Mon Sep 17 00:00:00 2001 From: Edwin Cheng Date: Fri, 5 Feb 2021 19:57:32 +0800 Subject: Add benchmark test for mbe --- crates/test_utils/src/bench_fixture.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'crates/test_utils/src') diff --git a/crates/test_utils/src/bench_fixture.rs b/crates/test_utils/src/bench_fixture.rs index aa1bea9bb..d775e2cc9 100644 --- a/crates/test_utils/src/bench_fixture.rs +++ b/crates/test_utils/src/bench_fixture.rs @@ -35,3 +35,8 @@ pub fn glorious_old_parser() -> String { let path = project_dir().join("bench_data/glorious_old_parser"); fs::read_to_string(&path).unwrap() } + +pub fn numerous_macro_rules() -> String { + let path = project_dir().join("bench_data/numerous_macro_rules"); + fs::read_to_string(&path).unwrap() +} -- cgit v1.2.3