Re-enable HTML language in benchmarks
Made possible by this error recovery performance fix:
4c7d5fe26c
This commit is contained in:
parent
e6d6b4a700
commit
363079bf3e
2 changed files with 2 additions and 6 deletions
|
|
@ -61,11 +61,6 @@ fn main() {
|
|||
let mut all_error_speeds = Vec::new();
|
||||
|
||||
for (language_name, example_paths) in EXAMPLE_PATHS_BY_LANGUAGE_NAME.iter() {
|
||||
// TODO - remove after fixing slow error parsing HTML.
|
||||
if language_name == "html" {
|
||||
continue;
|
||||
}
|
||||
|
||||
if let Some(filter) = LANGUAGE_FILTER.as_ref() {
|
||||
if language_name != filter.as_str() {
|
||||
continue;
|
||||
|
|
|
|||
|
|
@ -233,7 +233,8 @@ impl Loader {
|
|||
.arg("-I")
|
||||
.arg(header_path)
|
||||
.arg("-o")
|
||||
.arg(&library_path);
|
||||
.arg(&library_path)
|
||||
.arg("-O2");
|
||||
if let Some(scanner_path) = scanner_path.as_ref() {
|
||||
if scanner_path.extension() == Some("c".as_ref()) {
|
||||
command.arg("-xc").arg("-std=c99").arg(scanner_path);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue