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

chore: make jsii fully synchronous #3467

Merged
merged 9 commits into from Apr 4, 2022
Merged

chore: make jsii fully synchronous #3467

merged 9 commits into from Apr 4, 2022

Commits on Apr 1, 2022

  1. chore: make jsii fully synchronous

    With a sample set of 1, I have detemined that there is about 30% tax
    caused by asynchronous functions in the compiler. The `typescript`
    compiler itself is fully synchronous, and we basically moved to do the
    same, and this turns out reducing the amount of time wasted in the
    runloop and in promise bookeeping.
    
    Tested on `aws-cdk-lib`, it turns out to be reducing the compile time
    from ~142 seconds to ~100 seconds.
    RomainMuller committed Apr 1, 2022
    Configuration menu
    Copy the full SHA
    6eab08f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    76695af View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    10db505 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2cb1c0d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    64d398c View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2022

  1. Configuration menu
    Copy the full SHA
    de939c5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    07d680e View commit details
    Browse the repository at this point in the history
  3. Fix test expectations

    RomainMuller committed Apr 4, 2022
    Configuration menu
    Copy the full SHA
    3b06f91 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    adb5af6 View commit details
    Browse the repository at this point in the history