Performance and Benchmarks

Performance and Benchmarks#

GFQL runs graph queries as dataframe operations, in your process, on CPU or GPU. These pages show what that is worth against graph databases and Spark, and how to get the speed on your own data.

See what it is worth#

Read in this order if you are deciding whether GFQL fits.

  1. Speedup case study: Cypher + PageRank vs Neo4j + GDS — one real pipeline, measured end to end on a 30M-edge graph, on CPU and GPU.

  2. Measured against graph databases — the q1–q9 Cypher board against Kuzu, Memgraph and Neo4j, plus SNB-derived lookups and small-result queries.

  3. GFQL vs Spark GraphFrames — one machine against a cluster framework on LiveJournal and Orkut.

Get the speed on your data#

Read these when you have a graph and want it to run faster.

  1. Choose an engine — pandas, Polars, cuDF or Polars-GPU with one keyword; which one for which work.

  2. Index for queries that start from known nodes — build the adjacency index once; a traversal from a watchlist or a seed set then reads only those nodes’ neighborhoods.

  3. Indexing guide — property and adjacency indexes, when they engage, and what they cost.

  4. Run on a remote GPU — the same queries on a Graphistry server GPU.

Reference#