()
| 35 | } |
| 36 | |
| 37 | fn get_query_files() -> Vec<QueryFile> { |
| 38 | let mut files = vec![]; |
| 39 | for source_path in glob(QUERY_FIXTURES_GLOB).unwrap().flatten() { |
| 40 | files.push(QueryFile { |
| 41 | name: source_path.file_stem().unwrap().to_str().unwrap().to_owned(), |
| 42 | source_text: read_to_string(&source_path).unwrap(), |
| 43 | }); |
| 44 | } |
| 45 | files |
| 46 | } |
| 47 | |
| 48 | fn selector_matching(c: &mut Criterion) { |
| 49 | let mut group = c.benchmark_group("selector_matching"); |
no test coverage detected