I tried it against SQLite. I got ChatGPT to write me a script that would insert 1m edges and 1m nodes:
https://gist.github.com/simonw/c16ce01244760e186a3a0aa3fee04...
Then I ran that query again and it seems to return results in about 80ms:
https://lite.datasette.io/?sql=https://gist.github.com/simon...