You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Studio: Flame-graph Visualization of Profile #3409
This is a feature request for a visualization of a PROFILE (SQL) query in the studio tool via flame-graph.
The idea is to add a tab to the query page which shows a flame-graph of a query. This may mean that a query needs to be wrapped in a PROFILE statement and resend to the server. The server JSON response then needs to be transformed such that the timings and their labels can be used to create a flame-graph.
Various projects used flame-graphs for SQL profiling, so these links maybe useful:
The help bubble next to the checkbox should include OpenCypher to the stated SQL and Gremlin.
SELECT FROM (SELECT 1) does not produce a flamegraph
It does not work for sqlscript, is this expected?
It seems only one level is resolved, for example if one has SELECT ... LET $x = (SELECT ... FROM ...), the query in the LET` is only treated as one block and not as a new level where projection, filtrering, etc is resolved.
Activity
chore(deps): bump the github-actions group with 2 updates [skip ci]
feat: supported FlameGraph in studio
lvca commentedon Feb 20, 2026
Implemented with zero dependencies, just CSS. Please @gramian let me know what do you think.
gramian commentedon Feb 20, 2026
@lvca This is super cool already!
SELECT FROM (SELECT 1)does not produce a flamegraphsqlscript, is this expected?SELECT ... LET $x = (SELECT ... FROM ...), the query in theLET` is only treated as one block and not as a new level where projection, filtrering, etc is resolved.fix: flamegraph recursive profiling
lvca commentedon Feb 20, 2026
Good point, fixed now.
chore(deps): bump the github-actions group with 3 updates [skip ci]
feat: supported FlameGraph in studio
fix: flamegraph recursive profiling
chore(deps): bump the github-actions group with 5 updates [skip ci]
chore(deps): bump github/codeql-action from 4.31.10 to 4.31.11 [skip ci]
chore(deps): bump the github-actions group with 2 updates [skip ci]
chore(deps): bump the github-actions group with 2 updates [skip ci]
chore(deps): bump the github-actions group with 2 updates [skip ci]
feat: supported FlameGraph in studio
fix: flamegraph recursive profiling
chore(deps): bump the github-actions group with 3 updates [skip ci]
chore(deps): bump the github-actions group with 5 updates [skip ci]