rdf4j icon indicating copy to clipboard operation
rdf4j copied to clipboard

Performance improvements - work in progress

Open hmottestad opened this issue 3 years ago • 3 comments

This is a not a PR that is meant to be merged, but a PR to track general performance improvements that I am testing out.

hmottestad avatar May 03 '22 11:05 hmottestad

Benchmark                                                     Mode  Cnt      Score     Error  Units
QueryBenchmark.complexQuery                                   avgt    5      1.914 ±   0.009  ms/op
QueryBenchmark.different_datasets_with_similar_distributions  avgt    5      0.966 ±   0.002  ms/op
QueryBenchmark.groupByQuery                                   avgt    5      1.175 ±   0.028  ms/op
QueryBenchmark.long_chain                                     avgt    5    233.457 ±   1.509  ms/op
QueryBenchmark.lots_of_optional                               avgt    5     96.860 ±   0.552  ms/op
QueryBenchmark.minus                                          avgt    5  12415.193 ± 110.637  ms/op
QueryBenchmark.nested_optionals                               avgt    5    109.071 ±   0.297  ms/op
QueryBenchmark.pathExpressionQuery1                           avgt    5      8.740 ±   0.117  ms/op
QueryBenchmark.pathExpressionQuery2                           avgt    5      1.369 ±   0.020  ms/op
QueryBenchmark.query_distinct_predicates                      avgt    5     86.004 ±   0.512  ms/op
QueryBenchmark.simple_filter_not                              avgt    5      6.935 ±   0.041  ms/op

hmottestad avatar May 10 '22 12:05 hmottestad

Updated benchmark results

Benchmark                                                     Mode  Cnt      Score      Error  Units
QueryBenchmark.complexQuery                                   avgt    5      1.976 ±    0.018  ms/op
QueryBenchmark.different_datasets_with_similar_distributions  avgt    5      0.932 ±    0.125  ms/op
QueryBenchmark.groupByQuery                                   avgt    5      1.361 ±    0.533  ms/op
QueryBenchmark.long_chain                                     avgt    5    241.324 ±   24.898  ms/op
QueryBenchmark.lots_of_optional                               avgt    5     83.849 ±    2.410  ms/op
QueryBenchmark.minus                                          avgt    5  13076.256 ± 1332.778  ms/op
QueryBenchmark.nested_optionals                               avgt    5     85.241 ±   19.930  ms/op
QueryBenchmark.pathExpressionQuery1                           avgt    5     10.430 ±    0.900  ms/op
QueryBenchmark.pathExpressionQuery2                           avgt    5      1.443 ±    0.116  ms/op
QueryBenchmark.query_distinct_predicates                      avgt    5     85.937 ±    0.748  ms/op
QueryBenchmark.simple_filter_not                              avgt    5      5.257 ±    1.511  ms/op

hmottestad avatar May 18 '22 06:05 hmottestad

Marked this as stale to signal that the PR hasn't been active for a while and that we should consider closing it.

hmottestad avatar Jul 24 '22 07:07 hmottestad