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

Add JMH Benchmark baseline to reactive #1462

Merged
merged 3 commits into from
Mar 6, 2020

Conversation

akarnokd
Copy link
Collaborator

@akarnokd akarnokd commented Mar 3, 2020

Baseline benchmark for sources and operators.

Results on i7 8700, Windows 10 x64, Java 11.0.3, 32 GB RAM, normalized to million ops/s

Method 1 10 100 1,000 10,000 100,000 1,000,000
filterAll 38.420 136.987 166.146 167.023 162.727 162.662 72.114
filterHalf 38.761 119.692 117.361 123.794 141.007 132.630 68.971
filterNone 38.642 138.481 167.677 165.022 164.836 161.074 71.896
from 45.526 146.152 179.817 175.228 201.299 200.175 193.698
justArray 38.441 116.639 162.597 145.975 154.904 166.769 79.154
limitAll 36.958 106.949 133.697 137.351 136.280 130.993 76.357
limitHalf 35.006 139.230 207.367 221.141 229.690 212.053 97.577
limitZero 35.960 238.232 628.047 753.450 771.515 759.677 141.652
map 33.978 98.337 123.731 114.542 103.006 105.520 55.759
skipAll 36.861 152.659 235.858 242.059 227.272 225.956 91.846
skipHalf 35.201 125.754 153.587 151.007 158.035 159.836 83.221
skipZero 35.439 111.933 147.953 152.126 136.469 136.467 75.753
empty 313.651
emptySingle 312.483
just 43.606
justSingle 42.990
never 453.452
neverSingle 472.207

Raw data

@danielkec danielkec self-assigned this Mar 3, 2020
@danielkec danielkec added the reactive Reactive streams and related components label Mar 3, 2020
romain-grecourt
romain-grecourt previously approved these changes Mar 3, 2020
@romain-grecourt romain-grecourt dismissed their stale review March 3, 2020 18:32

clicked the wrong button ;)

@danielkec danielkec added dependencies Pull requests that update a dependency file and removed dependencies Pull requests that update a dependency file labels Mar 6, 2020
@danielkec danielkec merged commit 0949a6c into helidon-io:master Mar 6, 2020
@akarnokd akarnokd deleted the ReactiveJmh branch March 6, 2020 13:24
@akarnokd
Copy link
Collaborator Author

akarnokd commented Mar 6, 2020

Here is an update on the benchmark now running with the rewritten array-based just (Raw data):

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
reactive Reactive streams and related components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants