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

Optionally speed up validation #1672

Merged
merged 1 commit into from Nov 14, 2021
Merged

Commits on Nov 12, 2021

  1. Improve the speed of valdiation

    Motivation:
      - We are looking to build out a notebook viewer with an eye toward performance.
        In our flamegraph research we found that as much as 90% of the time spent in
        Notebook creation can occur in the preprocessor valdiation logic. This pr
        introduces the optional idea of optimistic validation, in which we care not
        about which preprocessor introduces a validation error but that the notebook
        ends in a valid state, since we care more about speed.
    
    Related Issues:
      - jupyter#1663
    
    Changes:
      - Introduces a config option to remove some of the validation checks.
    
    Questions:
      - I am new to the project and am not sure where a test should live for
        this logic, or the best way to structure such a test. If a reference
        is available I will happily added a test.
    gwincr11 committed Nov 12, 2021
    Copy the full SHA
    13e5bfb View commit details
    Browse the repository at this point in the history