Update ProfilingApplication default options to align with HTTP. #2680
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Some performance numbers to compare the current master-http branch against 3.7-dev using ProfilingApplication.
ProfilingApplication Information
The ProfilingApplication has two modes: latency and throughput.
The latency test will run a particular query one at a time for several runs. It then reports the average latency of the query. The chosen query for this test was
g.V().both().repeat()
as the server is able to quickly respond to this request but it also generates a lot of data to be returned over the wire.The throughput test will issue requests (an application argument) number of queries to the server and see how long it takes to complete them. It will then report the results as number or queries completed per second. The throughput tests can be either exercise or 1+1. When the application argument exercise is set to true, there are a number of preset queries that will be used, if it is false, then "1+1" is the query used. See https://github.com/apache/tinkerpop/blob/master/gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/util/ProfilingApplication.java#L54 for the list of queries
Performance Metrics
Test System
Server
EC2 m7a.8xlarge US EAST 2
Server Config
Driver
EC2 m7a.4xlarge US WEST 2
g.V()
6 verticesg.V().repeat(both()).times(15)
2 824 992 verticesg.V().repeat(both()).times(18)
39 750 654 verticesg.V()
6 verticesg.V().repeat(both()).times(15)
2 824 992 verticesg.V().repeat(both()).times(18)
39 750 654 vertices1 + 1
N/A
N/A
1 + 1
N/A
1 + 1
N/A
N/A