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

Avoid redundant BigDecimal cast #306

Merged
merged 1 commit into from
Jan 29, 2021
Merged

Avoid redundant BigDecimal cast #306

merged 1 commit into from
Jan 29, 2021

Conversation

pan3793
Copy link
Member

@pan3793 pan3793 commented Jan 29, 2021

No description provided.

@github-actions
Copy link

BENCHMARK_REPORT
Benchmark                                           (batchSize)  (columnNum)  (selectNumber)  Mode  Cnt      Score   Error  Units
InsertIBenchmark.benchInsertHttp                         200000           20             N/A  avgt         334.906          ms/op
InsertIBenchmark.benchInsertHttp                         200000           50             N/A  avgt         317.607          ms/op
InsertIBenchmark.benchInsertHttp                         500000           20             N/A  avgt         816.628          ms/op
InsertIBenchmark.benchInsertHttp                         500000           50             N/A  avgt         849.116          ms/op
InsertIBenchmark.benchInsertNative                       200000           20             N/A  avgt         128.317          ms/op
InsertIBenchmark.benchInsertNative                       200000           50             N/A  avgt         115.352          ms/op
InsertIBenchmark.benchInsertNative                       500000           20             N/A  avgt         269.326          ms/op
InsertIBenchmark.benchInsertNative                       500000           50             N/A  avgt         266.092          ms/op
RowBinaryDoubleIBenchmark.benchInsertHttpRowBinary       200000           20             N/A  avgt         190.168          ms/op
RowBinaryDoubleIBenchmark.benchInsertHttpRowBinary       200000           50             N/A  avgt         507.057          ms/op
RowBinaryDoubleIBenchmark.benchInsertHttpRowBinary       500000           20             N/A  avgt         432.350          ms/op
RowBinaryDoubleIBenchmark.benchInsertHttpRowBinary       500000           50             N/A  avgt        1149.464          ms/op
RowBinaryDoubleIBenchmark.benchInsertNative              200000           20             N/A  avgt         583.947          ms/op
RowBinaryDoubleIBenchmark.benchInsertNative              200000           50             N/A  avgt        1544.428          ms/op
RowBinaryDoubleIBenchmark.benchInsertNative              500000           20             N/A  avgt        1403.758          ms/op
RowBinaryDoubleIBenchmark.benchInsertNative              500000           50             N/A  avgt        3755.863          ms/op
RowBinaryIntIBenchmark.benchInsertHttpRowBinary          200000           20             N/A  avgt         167.588          ms/op
RowBinaryIntIBenchmark.benchInsertHttpRowBinary          200000           50             N/A  avgt         378.756          ms/op
RowBinaryIntIBenchmark.benchInsertHttpRowBinary          500000           20             N/A  avgt         381.606          ms/op
RowBinaryIntIBenchmark.benchInsertHttpRowBinary          500000           50             N/A  avgt         968.230          ms/op
RowBinaryIntIBenchmark.benchInsertNative                 200000           20             N/A  avgt         395.321          ms/op
RowBinaryIntIBenchmark.benchInsertNative                 200000           50             N/A  avgt        1022.861          ms/op
RowBinaryIntIBenchmark.benchInsertNative                 500000           20             N/A  avgt         984.348          ms/op
RowBinaryIntIBenchmark.benchInsertNative                 500000           50             N/A  avgt        2575.174          ms/op
RowBinaryStringIBenchmark.benchInsertHttpRowBinary       200000           20             N/A  avgt         408.927          ms/op
RowBinaryStringIBenchmark.benchInsertHttpRowBinary       200000           50             N/A  avgt         995.011          ms/op
RowBinaryStringIBenchmark.benchInsertHttpRowBinary       500000           20             N/A  avgt        1044.899          ms/op
RowBinaryStringIBenchmark.benchInsertHttpRowBinary       500000           50             N/A  avgt        2412.542          ms/op
RowBinaryStringIBenchmark.benchInsertNative              200000           20             N/A  avgt         615.093          ms/op
RowBinaryStringIBenchmark.benchInsertNative              200000           50             N/A  avgt        1557.937          ms/op
RowBinaryStringIBenchmark.benchInsertNative              500000           20             N/A  avgt        1568.535          ms/op
RowBinaryStringIBenchmark.benchInsertNative              500000           50             N/A  avgt        4094.545          ms/op
SelectIBenchmark.benchSelectHTTP                            N/A          N/A          500000  avgt        1060.448          ms/op
SelectIBenchmark.benchSelectHTTP                            N/A          N/A        10000000  avgt       22179.133          ms/op
SelectIBenchmark.benchSelectNative                          N/A          N/A          500000  avgt         282.258          ms/op
SelectIBenchmark.benchSelectNative                          N/A          N/A        10000000  avgt        5448.697          ms/op
WideColumnDoubleInsertIBenchmark.benchInsertHttp         200000           20             N/A  avgt         732.358          ms/op
WideColumnDoubleInsertIBenchmark.benchInsertHttp         200000           50             N/A  avgt        1905.622          ms/op
WideColumnDoubleInsertIBenchmark.benchInsertHttp         500000           20             N/A  avgt        1909.078          ms/op
WideColumnDoubleInsertIBenchmark.benchInsertHttp         500000           50             N/A  avgt        4929.380          ms/op
WideColumnDoubleInsertIBenchmark.benchInsertNative       200000           20             N/A  avgt         606.328          ms/op
WideColumnDoubleInsertIBenchmark.benchInsertNative       200000           50             N/A  avgt        1549.283          ms/op
WideColumnDoubleInsertIBenchmark.benchInsertNative       500000           20             N/A  avgt        1409.644          ms/op
WideColumnDoubleInsertIBenchmark.benchInsertNative       500000           50             N/A  avgt        3640.306          ms/op
WideColumnIntInsertIBenchmark.benchInsertHttp            200000           20             N/A  avgt         374.742          ms/op
WideColumnIntInsertIBenchmark.benchInsertHttp            200000           50             N/A  avgt         924.676          ms/op
WideColumnIntInsertIBenchmark.benchInsertHttp            500000           20             N/A  avgt         953.592          ms/op
WideColumnIntInsertIBenchmark.benchInsertHttp            500000           50             N/A  avgt        2271.921          ms/op
WideColumnIntInsertIBenchmark.benchInsertNative          200000           20             N/A  avgt         400.889          ms/op
WideColumnIntInsertIBenchmark.benchInsertNative          200000           50             N/A  avgt         928.869          ms/op
WideColumnIntInsertIBenchmark.benchInsertNative          500000           20             N/A  avgt        1014.882          ms/op
WideColumnIntInsertIBenchmark.benchInsertNative          500000           50             N/A  avgt        2627.978          ms/op
WideColumnStringInsertIBenchmark.benchInsertHttp         200000           20             N/A  avgt         445.843          ms/op
WideColumnStringInsertIBenchmark.benchInsertHttp         200000           50             N/A  avgt        1116.553          ms/op
WideColumnStringInsertIBenchmark.benchInsertHttp         500000           20             N/A  avgt        1166.738          ms/op
WideColumnStringInsertIBenchmark.benchInsertHttp         500000           50             N/A  avgt        2779.395          ms/op
WideColumnStringInsertIBenchmark.benchInsertNative       200000           20             N/A  avgt         616.623          ms/op
WideColumnStringInsertIBenchmark.benchInsertNative       200000           50             N/A  avgt        1598.196          ms/op
WideColumnStringInsertIBenchmark.benchInsertNative       500000           20             N/A  avgt        1533.280          ms/op
WideColumnStringInsertIBenchmark.benchInsertNative       500000           50             N/A  avgt        3949.862          ms/op

@pan3793 pan3793 merged commit 0c0b64b into master Jan 29, 2021
@pan3793 pan3793 deleted the cast branch January 29, 2021 11:36
pan3793 added a commit that referenced this pull request Jan 29, 2021
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.

1 participant