Benchmarking
Hi everyone, how to benchmark with gremlin?
Solution:Jump to solution
that's a fairly broad question, so i'll give a broad answer. one of the nice things about TinkerPop is that it lets you connect to a lot of different graph databases with the same code, so it does allow you to compare performance of different graph databases. that said, doing a good benchmark is still a bit hard as it's not enough to just use Gremlin to generate a random graph and issue a few queries. among other things, a critical step is to gain a decent understanding of the workings of the gr...
1 Reply
Solution
that's a fairly broad question, so i'll give a broad answer. one of the nice things about TinkerPop is that it lets you connect to a lot of different graph databases with the same code, so it does allow you to compare performance of different graph databases. that said, doing a good benchmark is still a bit hard as it's not enough to just use Gremlin to generate a random graph and issue a few queries. among other things, a critical step is to gain a decent understanding of the workings of the graphs you want to test to get any sort of reasonable comparison. if you search the internet a bit, you will likely come across LDBC benchmark (https://ldbcouncil.org/benchmarks/snb/tools) for TinkerPop. I'm not sure that any are well maintained these days and from what i recall each had some issues that didn't make them ideal (e.g. sub-optimal Gremlin queries, improper indexing, etc). that said they might be something to look as a sort of starting point.