Skip to content

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

Merged
ahnpnl merged 1 commit into25.x.xfrom
improve-compiler
Apr 24, 2020
Merged

perf(compiler): remove writing and reading compile output with file system, relies on jest cache#1561
ahnpnl merged 1 commit into25.x.xfrom
improve-compiler

Conversation

@ahnpnl
Copy link
Copy Markdown
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
Copy Markdown

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.

3 participants