Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a mock around rayon for disabling threading #2914

Merged
merged 1 commit into from
Apr 19, 2022

Commits on Apr 19, 2022

  1. Add a mock around rayon for disabling threading

    Profiling becomes considerably more difficult to read when rayon is
    involved, because rayon nests many layers of function calls which
    obscure where CPU and memory usage is actually occurring. This uses the
    maybe-rayon crate as a wrapper around rayon, which by default passes
    through to rayon with zero overhead, but by disabling the "threading"
    feature in rav1e, the maybe-rayon crate will become a mock which calls
    functions serially.
    shssoichiro committed Apr 19, 2022
    Configuration menu
    Copy the full SHA
    a77f844 View commit details
    Browse the repository at this point in the history