This is one of the queries from a project I am working on. ArangoDB 2.8.9:
LET organizations = (RETURN GRAPH_NEIGHBORS("test", "vertices/2733712293", { maxDepth: 2, includeData: true, neighborExamples: [{type: "organization"}], uniqueness:{vertices: "global", edges: "global"} }))
FOR org IN FLATTEN(organizations)
LET technologies = (RETURN GRAPH_NEIGHBORS("test", org, { maxDepth: 2, includeData: true, neighborExamples: [{type: "technology", category: "language"}], uniqueness:{vertices: "global", edges: "global"} }))
RETURN MERGE(org, {technologies: FLATTEN(technologies)})
Executing this 5 times and recording the time reported by Arango's admin interface: