forked from JanusGraph/janusgraph
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable multiQuery optimization for PropertyMapStep and ElementMapStep
Adds possibility to fetch properties and labels of vertices using valueMap, elementMap, propertyMap steps. Adds fetching modes to properties, values, valueMap, elementMap, propertyMap steps to be able to preFetch all properties (single slice query) or only required properties (separate slice query per each requested property). Fixes JanusGraph#2444 Signed-off-by: Oleksandr Porunov <alexandr.porunov@gmail.com>
- Loading branch information
Showing
17 changed files
with
1,159 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
0588749
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmark
org.janusgraph.JanusGraphSpeedBenchmark.basicAddAndDelete
22487.688453141844
ms/op14332.161923092626
ms/op1.57
org.janusgraph.GraphCentricQueryBenchmark.getVertices
2051.8014344493445
ms/op1321.1248866847918
ms/op1.55
org.janusgraph.MgmtOlapJobBenchmark.runClearIndex
224.56849588735182
ms/op219.3187360514493
ms/op1.02
org.janusgraph.MgmtOlapJobBenchmark.runReindex
622.2488377622221
ms/op457.21256604333337
ms/op1.36
org.janusgraph.JanusGraphSpeedBenchmark.basicCount
471.01293136363745
ms/op339.7662905587447
ms/op1.39
org.janusgraph.CQLMultiQueryHasStepBenchmark.getVerticesFilteredByHasStepWithNonHasStepAfterOut
201525.72720288744
ms/op126935.8882336863
ms/op1.59
org.janusgraph.CQLMultiQueryBenchmark.getElementsWithUsingEmitRepeatSteps
49266.98369803667
ms/op29790.763599713093
ms/op1.65
org.janusgraph.CQLMultiQueryBenchmark.getAllElementsTraversedFromOuterVertex
24291.320150468575
ms/op14584.747217241957
ms/op1.67
org.janusgraph.CQLMultiQueryBenchmark.getVerticesWithDoubleUnion
897.1818105917603
ms/op597.5285513438765
ms/op1.50
org.janusgraph.CQLMultiQueryHasStepBenchmark.getVerticesFilteredByHasStep
198870.81901944667
ms/op126664.80159906372
ms/op1.57
org.janusgraph.CQLMultiQueryBenchmark.getNames
24008.61749512
ms/op14698.622305737883
ms/op1.63
org.janusgraph.CQLMultiQueryBenchmark.getVerticesFilteredByAndStep
933.2796089347253
ms/op648.1313542954531
ms/op1.44
org.janusgraph.CQLMultiQueryBenchmark.getVerticesFromMultiNestedRepeatStepStartingFromSingleVertex
32625.32965501191
ms/op20241.54119706591
ms/op1.61
org.janusgraph.CQLMultiQueryBenchmark.getVerticesWithCoalesceUsage
865.8881925524842
ms/op580.6018760218902
ms/op1.49
org.janusgraph.CQLMultiQueryHasStepBenchmark.getAllPropertiesOfVerticesFilteredByHasStep
250358.80243016285
ms/op158222.3357738333
ms/op1.58
org.janusgraph.CQLMultiQueryHasStepBenchmark.getVerticesFilteredByHasStepInParentStep
206562.74798850415
ms/op130344.12783409984
ms/op1.58
org.janusgraph.CQLMultiQueryBenchmark.getIdToOutVerticesProjection
580.3718549374158
ms/op398.7058041528264
ms/op1.46
org.janusgraph.CQLMultiQueryBenchmark.getNeighborNames
24401.722849545076
ms/op14774.73570899399
ms/op1.65
org.janusgraph.CQLMultiQueryBenchmark.getElementsWithUsingRepeatUntilSteps
24940.12666646135
ms/op16211.509679201707
ms/op1.54
org.janusgraph.CQLMultiQueryBenchmark.getAdjacentVerticesLocalCounts
23370.15574008905
ms/op15057.017418793792
ms/op1.55
org.janusgraph.CQLMultiQueryHasStepBenchmark.getSpecificPropertiesOfVerticesFilteredByHasStep
319195.1966225562
ms/op199029.78159943083
ms/op1.60
This comment was automatically generated by workflow using github-action-benchmark.