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

perf(compiler): remove writing and reading compile output with file system, relies on jest cache #1561

Merged
merged 1 commit into from Apr 24, 2020

Conversation

ahnpnl
Copy link
Collaborator

@ahnpnl ahnpnl commented Apr 23, 2020

Summary

Writing and reading compile output with file system is not needed for us. We can rely on jest caching mechanism.

I tested and we can gain 5%-10% on a large set of tests. However, it is very hard to notice.

Related to #1115

Test plan

Green CI

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

N.A.

@ahnpnl ahnpnl requested a review from kulshekhar as a code owner April 23, 2020 13:42
@coveralls
Copy link

Pull Request Test Coverage Report for Build 4522

  • 17 of 17 (100.0%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.08%) to 92.813%

Totals Coverage Status
Change from base Build 4513: -0.08%
Covered Lines: 1054
Relevant Lines: 1089

💛 - Coveralls

@ahnpnl ahnpnl merged commit db628fa into 25.x.x Apr 24, 2020
@ahnpnl ahnpnl deleted the improve-compiler branch April 24, 2020 07:15
ahnpnl added a commit that referenced this pull request Apr 27, 2020
ahnpnl added a commit that referenced this pull request Apr 27, 2020
ahnpnl added a commit that referenced this pull request Apr 28, 2020
ahnpnl added a commit that referenced this pull request Apr 29, 2020
ahnpnl added a commit that referenced this pull request Apr 29, 2020
ahnpnl added a commit that referenced this pull request Apr 30, 2020
ahnpnl added a commit that referenced this pull request May 1, 2020
ahnpnl added a commit that referenced this pull request May 1, 2020
ahnpnl added a commit that referenced this pull request May 4, 2020
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.

None yet

3 participants