aboutsummaryrefslogtreecommitdiff
path: root/crates/test_utils
diff options
context:
space:
mode:
authorEdwin Cheng <[email protected]>2021-02-05 11:57:32 +0000
committerEdwin Cheng <[email protected]>2021-02-24 21:47:13 +0000
commit23dbf36c7dfcbb43a0def2642287c2fb30864a07 (patch)
tree96aef1d59e6f707e1f86f71c3e8170bea2e7255a /crates/test_utils
parent0537510aef4059d5f79146a8dc2734ffdb27dc74 (diff)
Add benchmark test for mbe
Diffstat (limited to 'crates/test_utils')
-rw-r--r--crates/test_utils/src/bench_fixture.rs5
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
39pub fn numerous_macro_rules() -> String {
40 let path = project_dir().join("bench_data/numerous_macro_rules");
41 fs::read_to_string(&path).unwrap()
42}