File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 2424 - uses : actions/checkout@v1
2525 - name : Build
2626 run : cargo build
27+ - name : Build benchmarks
28+ run : cargo bench --no-run
29+ - name : Build benchmarks (compare)
30+ working-directory : compare
31+ run : cargo bench --no-run
2732 - name : Run tests (no features)
2833 env :
2934 LLVM_PROFILE_FILE : coverage/no-features-%p-%m.profraw
Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ fn one_event(c: &mut Criterion) {
202202 . check_comments ( false )
203203 . trim_text ( true ) ;
204204 match r. read_event ( & mut buf) {
205- Ok ( Event :: Start ( ref e) ) => nbtxt += e. unescaped ( ) . unwrap ( ) . len ( ) ,
205+ Ok ( Event :: Start ( ref e) ) => nbtxt += e. len ( ) ,
206206 something_else => panic ! ( "Did not expect {:?}" , something_else) ,
207207 } ;
208208
You can’t perform that action at this time.
0 commit comments