Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
The .profile() step is currently tedious to use. One must remember this entire string to activate profiling and cap off the result: "profile().cap(TraversalMetrics.METRICS_KEY)".
This should be streamlined.
Additionally, if the TraversalMetrics are cap'd off the end of the traversal then this step and the duration it takes should be excluded from the metrics and timers. (Moved to own ticket: https://issues.apache.org/jira/browse/TINKERPOP-1078)