Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include more information in PROFILE steps #3028

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

Conversation

nafraf
Copy link
Contributor

@nafraf nafraf commented Apr 12, 2023

This PR is to implement the feature #3002

Sample output:

127.0.0.1:6379> GRAPH.PROFILE movies "WITH 'Ham' AS text MATCH (a:Actor)-[r:ACTED_IN]-(m:Movie) WHERE a.name = 'Mark Hamill' AND 1+3 < (a.id%2=1)+(2*2+3) AND a.name contains text RETURN a"
1) "Results | Records produced: 0, Execution time: 0.000381 ms"
2) "    Project | Records produced: 0, Execution time: 0.000411 ms"
3) "        Conditional Traverse | (a)->(m:Movie) | Records produced: 0, Execution time: 0.000907 ms"
4) "            Filter | ((a.name = 'Mark Hamill' AND 4 < (((a.id % 2) = 1) + 7)) AND contains(a.name, text)) | Records produced: 0, Execution time: 0.000336 ms"
5) "                Node By Label Scan | (a:Actor) | Records produced: 0, Execution time: 0.050204 ms"
6) "                    Project | Records produced: 1, Execution time: 0.001210 ms"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant