diff options
author | Edwin Cheng <[email protected]> | 2021-02-05 11:57:32 +0000 |
---|---|---|
committer | Edwin Cheng <[email protected]> | 2021-02-24 21:47:13 +0000 |
commit | 23dbf36c7dfcbb43a0def2642287c2fb30864a07 (patch) | |
tree | 96aef1d59e6f707e1f86f71c3e8170bea2e7255a /crates/test_utils/src | |
parent | 0537510aef4059d5f79146a8dc2734ffdb27dc74 (diff) |
Add benchmark test for mbe
Diffstat (limited to 'crates/test_utils/src')
-rw-r--r-- | crates/test_utils/src/bench_fixture.rs | 5 |
1 files changed, 5 insertions, 0 deletions
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 { | |||
35 | let path = project_dir().join("bench_data/glorious_old_parser"); | 35 | let path = project_dir().join("bench_data/glorious_old_parser"); |
36 | fs::read_to_string(&path).unwrap() | 36 | fs::read_to_string(&path).unwrap() |
37 | } | 37 | } |
38 | |||
39 | pub fn numerous_macro_rules() -> String { | ||
40 | let path = project_dir().join("bench_data/numerous_macro_rules"); | ||
41 | fs::read_to_string(&path).unwrap() | ||
42 | } | ||