Permalink
Browse files

Rustc parser benchmark

  • Loading branch information...
1 parent 53482c9 commit 75ad5b8ec342f08b5375a4cc91fd8151926501fc @trishume committed Jun 9, 2016
Showing with 6,203 additions and 0 deletions.
  1. +1 −0 .gitattributes
  2. +5 −0 benches/highlighting.rs
  3. +6,197 −0 testdata/parser.rs
View
@@ -0,0 +1 @@
+testdata/* linguist-vendored
@@ -45,3 +45,8 @@ fn bench_highlighting_nesting(b: &mut Bencher) {
fn bench_highlighting_jquery(b: &mut Bencher) {
highlight_file(b, "testdata/jquery.js");
}
+
+#[bench]
+fn bench_highlighting_rustc(b: &mut Bencher) {
+ highlight_file(b, "testdata/parser.rs");
+}
Oops, something went wrong.

0 comments on commit 75ad5b8

Please sign in to comment.