Eneperf is a performance, analytics and debugging tool that can measure throughput to help you identify system bottlenecks. Eneperf makes HTTP queries against the MDEX Engine (Dgraph) based on your MDEX Engine request logs and gathers the resulting statistics, without processing the results in any way.
Because Eneperf is lightweight, it has a very slight impact on performance. In most cases, it can be run on the same machine as the Dgraph being tested. It can also be run on a remote machine.
Eneperf drives a substantial load at the MDEX Engine and reveals how many operations per second the MDEX Engine responds with. Eneperf lets you measure both query latency and throughput. You specify the log file and specify to Eneperf how many times to run through it, as well as the number of client connections to simulate.
Eneperf understands MDEX Engine URLs, which use the pipe symbol
(|). Because the pipe symbol is not a legal character in the URL/URI standards,
other programs, such as
wget
, may transform it inappropriately.