-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ability to import schema defined in JSON format via file path or directly via JSON string. This implementation doesn't migrate or update already defined schema elements. Neither it removes existing defined elements. SchemaInitStrategy is defined in mind to be able to implement migration and more advance schema management, even so current JSON schema importer implementation is fairly simple. This work is made in hopes to simplify schema definition for beginners, speed-up prototypes development based on JanusGraph, and simplify testing. Signed-off-by: Oleksandr Porunov <[email protected]>
- Loading branch information
Showing
66 changed files
with
4,270 additions
and
17 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
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.
ac7fddb
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
12605.539336231393
ms/op12994.438964091325
ms/op0.97
org.janusgraph.GraphCentricQueryBenchmark.getVertices
952.8487462157776
ms/op957.3251909284766
ms/op1.00
org.janusgraph.MgmtOlapJobBenchmark.runClearIndex
216.28348984239133
ms/op216.45303196086957
ms/op1.00
org.janusgraph.MgmtOlapJobBenchmark.runReindex
346.3720456992949
ms/op342.81005004892853
ms/op1.01
org.janusgraph.JanusGraphSpeedBenchmark.basicCount
221.8337648954928
ms/op207.33680618088454
ms/op1.07
org.janusgraph.CQLMultiQueryMultiSlicesBenchmark.getValuesAllPropertiesWithAllMultiQuerySlicesUnderMaxRequestsPerConnection
4831.472849478207
ms/op4953.295327365606
ms/op0.98
org.janusgraph.CQLMultiQueryBenchmark.getElementsWithUsingEmitRepeatSteps
16032.774814838689
ms/op16917.057558105356
ms/op0.95
org.janusgraph.CQLMultiQueryMultiSlicesBenchmark.getValuesMultiplePropertiesWithSmallBatch
18475.374324934346
ms/op18983.13907385985
ms/op0.97
org.janusgraph.CQLMultiQueryMultiSlicesBenchmark.vertexCentricPropertiesFetching
53956.68135738333
ms/op56527.85002600001
ms/op0.95
org.janusgraph.CQLMultiQueryDropBenchmark.dropVertices
1546.4529868128632
ms/op1570.8428983417461
ms/op0.98
org.janusgraph.CQLMultiQueryBenchmark.getAllElementsTraversedFromOuterVertex
7900.053390151586
ms/op8433.13502817794
ms/op0.94
org.janusgraph.CQLMultiQueryBenchmark.getVerticesWithDoubleUnion
391.6238220248095
ms/op384.2152506805113
ms/op1.02
org.janusgraph.CQLMultiQueryMultiSlicesBenchmark.getValuesAllPropertiesWithUnlimitedBatch
3929.4785096569667
ms/op4227.1771161974975
ms/op0.93
org.janusgraph.CQLMultiQueryBenchmark.getNames
8023.037576744028
ms/op8339.221853925019
ms/op0.96
org.janusgraph.CQLMultiQueryMultiSlicesBenchmark.getValuesThreePropertiesWithAllMultiQuerySlicesUnderMaxRequestsPerConnection
5485.912016191758
ms/op5604.356576582386
ms/op0.98
org.janusgraph.CQLMultiQueryBenchmark.getLabels
6961.58933332698
ms/op7082.884761983721
ms/op0.98
org.janusgraph.CQLMultiQueryBenchmark.getVerticesFilteredByAndStep
431.02274935675473
ms/op430.31039337061094
ms/op1.00
org.janusgraph.CQLMultiQueryBenchmark.getVerticesFromMultiNestedRepeatStepStartingFromSingleVertex
12075.974151608048
ms/op12459.636105572155
ms/op0.97
org.janusgraph.CQLMultiQueryBenchmark.getVerticesWithCoalesceUsage
359.9524059735096
ms/op357.5981502840734
ms/op1.01
org.janusgraph.CQLMultiQueryMultiSlicesBenchmark.getValuesMultiplePropertiesWithAllMultiQuerySlicesUnderMaxRequestsPerConnection
14387.771568689044
ms/op14793.559446997619
ms/op0.97
org.janusgraph.CQLMultiQueryBenchmark.getIdToOutVerticesProjection
251.32587219487405
ms/op245.84974412075837
ms/op1.02
org.janusgraph.CQLMultiQueryMultiSlicesBenchmark.getValuesMultiplePropertiesWithUnlimitedBatch
13446.031071442445
ms/op13806.414282860256
ms/op0.97
org.janusgraph.CQLCompositeIndexInlinePropBenchmark.searchVertices
1501.1486144378007
ms/op1511.142514571489
ms/op0.99
org.janusgraph.CQLMultiQueryBenchmark.getNeighborNames
8269.8524756692
ms/op8411.967305495045
ms/op0.98
org.janusgraph.CQLMultiQueryBenchmark.getElementsWithUsingRepeatUntilSteps
8869.51980242747
ms/op9104.974810254043
ms/op0.97
org.janusgraph.CQLMultiQueryBenchmark.getAdjacentVerticesLocalCounts
8119.911418966441
ms/op8793.398072298722
ms/op0.92
This comment was automatically generated by workflow using github-action-benchmark.