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

WIP: ThreadGroup multi-tasking #540

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft

WIP: ThreadGroup multi-tasking #540

wants to merge 5 commits into from

Conversation

vlsi
Copy link
Collaborator

@vlsi vlsi commented Oct 16, 2019

Description

See https://lists.apache.org/thread.html/df0349a01889bec3a202f25dfdcf1ecd7fc9da535a48799576aff4bb@%3Cdev.jmeter.apache.org%3E

Motivation and Context

JMeter should not block threads on long pauses. That would enable testing with big "think times" with little amount of threads (==save RAM).

Java's Loom

https://mail.openjdk.java.net/pipermail/loom-dev/2019-December/000931.html

Checklist:

  • try adding Kotlin
  • Implement multi-tasking

@vlsi vlsi force-pushed the multitask branch 2 times, most recently from 3fdb190 to 615d336 Compare October 18, 2019 20:20
@codecov-io
Copy link

codecov-io commented Oct 18, 2019

Codecov Report

Merging #540 into master will increase coverage by 0.53%.
The diff coverage is 51.33%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #540      +/-   ##
============================================
+ Coverage     55.46%   55.99%   +0.53%     
- Complexity     9964     9975      +11     
============================================
  Files          1029     1027       -2     
  Lines         63291    62770     -521     
  Branches       7141     7045      -96     
============================================
+ Hits          35106    35150      +44     
+ Misses        25708    25137     -571     
- Partials       2477     2483       +6     
Impacted Files Coverage Δ Complexity Δ
...rg/apache/jmeter/threads/JMeterContextService.java 95.55% <ø> (-0.10%) 16.00 <0.00> (ø)
...n/org/apache/jmeter/threads/JMeterContextHolder.kt 0.00% <0.00%> (ø) 0.00 <0.00> (?)
.../org/apache/jmeter/threads/MultitaskThreadGroup.kt 0.00% <0.00%> (ø) 0.00 <0.00> (?)
.../kotlin/org/apache/jmeter/threads/ThreadContext.kt 0.00% <0.00%> (ø) 0.00 <0.00> (?)
...in/java/org/apache/jmeter/threads/ThreadGroup.java 36.54% <21.73%> (-1.89%) 25.00 <1.00> (+1.00) ⬇️
...n/kotlin/org/apache/jmeter/threads/JMeterThread.kt 62.03% <62.03%> (ø) 54.00 <54.00> (?)
.../org/apache/jmeter/threads/gui/ThreadGroupGui.java 93.00% <100.00%> (+0.29%) 14.00 <0.00> (ø)
...issonarrivals/ConstantPoissonProcessGenerator.java 43.61% <0.00%> (-14.96%) 10.00% <0.00%> (-4.00%)
...g/apache/jmeter/gui/action/LookAndFeelCommand.java 45.28% <0.00%> (-4.17%) 5.00% <0.00%> (-4.00%)
.../src/main/java/org/apache/jmeter/SplashScreen.java 50.00% <0.00%> (-4.06%) 1.00% <0.00%> (-2.00%)
... and 1025 more

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 7a97d7f...214a9f7. Read the comment docs.

@vlsi vlsi force-pushed the multitask branch 5 times, most recently from e483146 to bc15a5f Compare October 20, 2019 22:07
@pmouawad
Copy link
Contributor

Hi @vlsi ,
Do you intend to continue working on this PR which looks really interesting or do you think there are blocking issues ?

Thanks

@vlsi
Copy link
Collaborator Author

vlsi commented Feb 18, 2020

@pmouawad , I don't work on this at the moment, however, it probably could fly.

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