Skip to content

"No such file or directory" when running parts of benchmark #182

@robinst

Description

@robinst

With criterion v0.2.4 and a clean target directory, when I run the following in the syntect repo:

cargo bench -- parse

There are some errors in the output:

     Running target/release/deps/highlighting-7594dd596dc32340
highlight/"parser.rs"   time:   [359.99 ms 361.81 ms 365.00 ms]
08:52:12 [ERROR] error: Failed to access file "target/criterion/highlight/\"scope.rs\"/new/sample.json": No such file or directory (os error 2)
08:52:12 [ERROR] caused by: Failed to access file "target/criterion/highlight/\"scope.rs\"/new/sample.json": No such file or directory (os error 2)
08:52:12 [ERROR] caused by: No such file or directory (os error 2)

The errors seem to be coming from files that were filtered out (because I only ran benchmarks with "parse" in the name).

Also, I thought those kind of names would no longer be used with #142?

(Didn't have the time to create a minimal reproducible example yet, but if it's not clear what the problem is I can do that.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions