Add benchmark test for mbe

This commit is contained in:
Edwin Cheng 2021-02-05 19:57:32 +08:00
parent 0537510aef
commit 23dbf36c7d
6 changed files with 783 additions and 0 deletions

View file

@ -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()
}