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

[tutorials] Add tutorial on JIT compile/execute performance #7838

Merged
merged 5 commits into from
Sep 15, 2023

Commits on Sep 5, 2023

  1. Add tutorial on JIT compile/execute performance

    Derek Gerstmann committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    ff93ba0 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2023

  1. Addressing comments from review. Fix punctuation and comment nits.

    Add timing estimates as comments.
    Add std::function example.
    Enable advanced scheduling directives.
    Derek Gerstmann committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    caf07d6 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2023

  1. Addressing comments from review.

    Added cases that match real usage patterns:
    
    1. Defining and compiling the whole pipeline every time you want to run it (i.e. in the benchmarking loop)
    2. Defining the pipeline outside the benchmarking loop, and realizing it repeatedly.
    3. (optional) Same as 2), but calling compile_jit() outside the loop, saying what it does, and saying why the time isn't actually different to case 2 (benchmark() runs multiple times and takes a min, and realize only compiiles on the first run)
    4. Compiling to a callable outside the benchmarking loop and showing that it has lower overhead than case 3 (if indeed it does. If not we may need to change the example so that it does, e.g. by adding a real input buffer.)
    Derek Gerstmann committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    6737523 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2023

  1. Configuration menu
    Copy the full SHA
    a5f0317 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2023

  1. Configuration menu
    Copy the full SHA
    5ab25e0 View commit details
    Browse the repository at this point in the history