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

Performace tests for the JNH Connector [WiP] #5164

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

Conversation

senivam
Copy link
Contributor

@senivam senivam commented Sep 21, 2022

No description provided.

Signed-off-by: Maxim Nesen <maxim.nesen@oracle.com>
Signed-off-by: Maxim Nesen <maxim.nesen@oracle.com>
@senivam senivam self-assigned this Sep 21, 2022
@senivam
Copy link
Contributor Author

senivam commented Sep 21, 2022

HTTP methods benchmarks (16s iterations):

Benchmark                                                                Mode  Cnt      Score      Error  Units
JNHConnectorHttpMethodsBenchmark.measureDelete                          thrpt   16   9275.214 ± 2163.641  ops/s
JNHConnectorHttpMethodsBenchmark.measureDeleteDefault                   thrpt   16   6476.960 ± 1226.970  ops/s
JNHConnectorHttpMethodsBenchmark.measureEntityGetDefaultResource        thrpt   16   5003.899 ± 1019.081  ops/s
JNHConnectorHttpMethodsBenchmark.measureEntityGetOneXmlDefaultResource  thrpt   16   5667.103 ± 1519.156  ops/s
JNHConnectorHttpMethodsBenchmark.measureEntityGetOneXmlResource         thrpt   16   4849.364 ± 1535.044  ops/s
JNHConnectorHttpMethodsBenchmark.measureEntityGetResource               thrpt   16   1188.248 ± 1042.323  ops/s
JNHConnectorHttpMethodsBenchmark.measureEntityGetXmlDefaultResource     thrpt   16    833.504 ±   78.093  ops/s
JNHConnectorHttpMethodsBenchmark.measureEntityGetXmlResource            thrpt   16    763.764 ±  118.201  ops/s
JNHConnectorHttpMethodsBenchmark.measureGetStringDefaultResource        thrpt   16  11015.903 ± 2046.735  ops/s
JNHConnectorHttpMethodsBenchmark.measureGetStringResource               thrpt   16   8769.224 ± 2142.933  ops/s
JNHConnectorHttpMethodsBenchmark.measurePost                            thrpt   16   1247.926 ± 1227.559  ops/s
JNHConnectorHttpMethodsBenchmark.measurePostDefault                     thrpt   16   8138.954 ± 1544.723  ops/s
JNHConnectorHttpMethodsBenchmark.measurePut                             thrpt   16   1259.895 ± 1209.808  ops/s
JNHConnectorHttpMethodsBenchmark.measurePutDefault                      thrpt   16   8113.979 ± 1407.038  ops/s

Signed-off-by: Maxim Nesen <maxim.nesen@oracle.com>
Signed-off-by: Maxim Nesen <maxim.nesen@oracle.com>
@senivam
Copy link
Contributor Author

senivam commented Sep 21, 2022

Another benchmarks (with added large data posts)

Benchmark                                                                Mode  Cnt      Score      Error  Units
JNHConnectorHttpMethodsBenchmark.measureBigPost                         thrpt   16    945.752 ±  110.855  ops/s
JNHConnectorHttpMethodsBenchmark.measureBigPostDefault                  thrpt   16   1073.212 ±   84.284  ops/s
JNHConnectorHttpMethodsBenchmark.measureDelete                          thrpt   16   9570.704 ± 2132.906  ops/s
JNHConnectorHttpMethodsBenchmark.measureDeleteDefault                   thrpt   16   7068.058 ± 1569.103  ops/s
JNHConnectorHttpMethodsBenchmark.measureEntityGetDefaultResource        thrpt   16   4437.000 ±  848.818  ops/s
JNHConnectorHttpMethodsBenchmark.measureEntityGetOneXmlDefaultResource  thrpt   16   5966.604 ± 1472.133  ops/s
JNHConnectorHttpMethodsBenchmark.measureEntityGetOneXmlResource         thrpt   16   5005.223 ± 1525.380  ops/s
JNHConnectorHttpMethodsBenchmark.measureEntityGetResource               thrpt   16   1232.824 ± 1139.475  ops/s
JNHConnectorHttpMethodsBenchmark.measureEntityGetXmlDefaultResource     thrpt   16    869.216 ±   69.633  ops/s
JNHConnectorHttpMethodsBenchmark.measureEntityGetXmlResource            thrpt   16    781.233 ±   95.504  ops/s
JNHConnectorHttpMethodsBenchmark.measureGetStringDefaultResource        thrpt   16  11354.447 ± 1946.889  ops/s
JNHConnectorHttpMethodsBenchmark.measureGetStringResource               thrpt   16   8970.374 ± 2113.184  ops/s
JNHConnectorHttpMethodsBenchmark.measurePost                            thrpt   16   1275.283 ± 1258.590  ops/s
JNHConnectorHttpMethodsBenchmark.measurePostDefault                     thrpt   16   8206.089 ± 1456.105  ops/s
JNHConnectorHttpMethodsBenchmark.measurePut                             thrpt   16   1269.894 ± 1262.436  ops/s
JNHConnectorHttpMethodsBenchmark.measurePutDefault                      thrpt   16   8107.515 ± 1457.283  ops/s

Signed-off-by: Maxim Nesen <maxim.nesen@oracle.com>
@senivam
Copy link
Contributor Author

senivam commented Sep 22, 2022

Actual benchmark:

Benchmark                                                     Mode  Cnt      Score      Error  Units
JNHConnectorBenchmark.measureBigPost                         thrpt   16    935.974 ±  109.615  ops/s
JNHConnectorBenchmark.measureBigPostDefault                  thrpt   16   1116.750 ±   98.881  ops/s
JNHConnectorBenchmark.measureDelete                          thrpt   16   9149.456 ± 1941.903  ops/s
JNHConnectorBenchmark.measureDeleteDefault                   thrpt   16   7192.095 ± 1423.270  ops/s
JNHConnectorBenchmark.measureEntityGetDefaultResource        thrpt   16   4358.100 ±  923.693  ops/s
JNHConnectorBenchmark.measureEntityGetOneXmlDefaultResource  thrpt   16   5859.686 ± 1410.138  ops/s
JNHConnectorBenchmark.measureEntityGetOneXmlResource         thrpt   16   4799.102 ± 1439.464  ops/s
JNHConnectorBenchmark.measureEntityGetResource               thrpt   16   1233.427 ± 1097.057  ops/s
JNHConnectorBenchmark.measureEntityGetXmlDefaultResource     thrpt   16    882.491 ±   93.974  ops/s
JNHConnectorBenchmark.measureEntityGetXmlResource            thrpt   16    810.193 ±  115.847  ops/s
JNHConnectorBenchmark.measureGetStringDefaultResource        thrpt   16  10860.550 ± 1934.570  ops/s
JNHConnectorBenchmark.measureGetStringResource               thrpt   16   8528.464 ± 2102.318  ops/s
JNHConnectorBenchmark.measurePost                            thrpt   16   7108.960 ± 1737.023  ops/s
JNHConnectorBenchmark.measurePostDefault                     thrpt   16   8133.415 ± 1386.881  ops/s
JNHConnectorBenchmark.measurePut                             thrpt   16   7077.477 ± 1749.441  ops/s
JNHConnectorBenchmark.measurePutDefault                      thrpt   16   8042.557 ± 1421.913  ops/s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant