mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-31 07:37:30 +00:00
Add benchmark test for mbe
This commit is contained in:
parent
0537510aef
commit
23dbf36c7d
6 changed files with 783 additions and 0 deletions
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue