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

Lazy init KotlinScriptEnginePool #2126

Merged
merged 1 commit into from
Nov 26, 2019
Merged

Lazy init KotlinScriptEnginePool #2126

merged 1 commit into from
Nov 26, 2019

Conversation

schalkms
Copy link
Member

This only initializes the Jsr223 KotlinScriptEngines when they are used
for the first time. This helps to reduce the test execution time when
rules don't use these engines.
reference: #2095

This only initializes the Jsr223 KotlinScriptEngines when they are used
for the first time. This helps to reduce the test execution time when
rules don't use these engines.
reference: #2095
@codecov-io
Copy link

codecov-io commented Nov 24, 2019

Codecov Report

Merging #2126 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #2126   +/-   ##
=========================================
  Coverage     80.62%   80.62%           
  Complexity     2015     2015           
=========================================
  Files           336      336           
  Lines          5802     5802           
  Branches       1057     1057           
=========================================
  Hits           4678     4678           
  Misses          563      563           
  Partials        561      561

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 58b6f2e...af0d1b4. Read the comment docs.

@3flex 3flex merged commit a7585e9 into detekt:master Nov 26, 2019
@arturbosch arturbosch added this to the 1.2.1 milestone Nov 26, 2019
@schalkms schalkms deleted the lazyinit-KotlinScriptEnginePool branch November 26, 2019 22:46
arturbosch pushed a commit that referenced this pull request Dec 5, 2019
This only initializes the Jsr223 KotlinScriptEngines when they are used
for the first time. This helps to reduce the test execution time when
rules don't use these engines.
reference: #2095
smyachenkov pushed a commit to smyachenkov/detekt that referenced this pull request Dec 9, 2019
This only initializes the Jsr223 KotlinScriptEngines when they are used
for the first time. This helps to reduce the test execution time when
rules don't use these engines.
reference: detekt#2095
smyachenkov pushed a commit to smyachenkov/detekt that referenced this pull request Dec 9, 2019
This only initializes the Jsr223 KotlinScriptEngines when they are used
for the first time. This helps to reduce the test execution time when
rules don't use these engines.
reference: detekt#2095
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.

4 participants