Re-enable HTML language in benchmarks

Made possible by this error recovery performance fix:
4c7d5fe26c
This commit is contained in:
Max Brunsfeld 2019-03-03 18:23:01 -08:00
parent e6d6b4a700
commit 363079bf3e
2 changed files with 2 additions and 6 deletions

View file

@ -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;

View file

@ -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);