Skip to content

Add caching support to sandbox apps creation#272

Merged
elia merged 1 commit into
masterfrom
elia/cached-app-creation
Apr 4, 2023
Merged

Add caching support to sandbox apps creation#272
elia merged 1 commit into
masterfrom
elia/cached-app-creation

Conversation

@elia

@elia elia commented Apr 4, 2023

Copy link
Copy Markdown
Member

Summary

With a warm cache the sandbox app creation goes from ~130s to ~30s on my Apple M1.

The optimization is used for the dummy-app creation as well.

Checklist

Check out our PR guidelines for more details.

The following are mandatory for all PRs:

The following are not always needed:

  • 📖 I have updated the README to account for my changes.
  • 📑 I have documented new code with YARD.
  • 🛣️ I have opened a PR to update the guides.
  • ✅ I have added automated tests to cover my changes.
  • 📸 I have attached screenshots to demo visual changes.

With a warm cache the sandbox app creation goes from ~130s to ~30s on
my Apple M1.

The optimization is used for the dummy-app creation as well.
@elia elia requested a review from rainerdema April 4, 2023 12:18
@elia elia self-assigned this Apr 4, 2023
@codecov

codecov Bot commented Apr 4, 2023

Copy link
Copy Markdown

Codecov Report

Merging #272 (30644f7) into master (59f4403) will decrease coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #272      +/-   ##
==========================================
- Coverage   99.59%   99.56%   -0.03%     
==========================================
  Files          27       26       -1     
  Lines         489      462      -27     
==========================================
- Hits          487      460      -27     
  Misses          2        2              

see 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@rainerdema rainerdema left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With a warm cache the sandbox app creation goes from ~130s to ~30s on my Apple M1.

Amazing improvement @elia! Thanks! 🙏

@elia elia merged commit ba34ccc into master Apr 4, 2023
@elia elia deleted the elia/cached-app-creation branch April 4, 2023 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants