Open kevinkle opened 4 years ago
Well, pyinstrument needs to be setup a bit more....
2019-08-22 22:40:27 486e99c79a12 prairiedog[1] INFO Profiler output:
_ ._ __/__ _ _ _ _ _/_ Recorded: 21:50:23 Samples: 149
/_//_/// /_\ / //_// / //_'/ // Duration: 3004.082 CPU time: 1.403
/ _/ v3.0.3
Program: /opt/venv/bin/prairiedog --debug --profiler query GACTACATAAA AACCTCCGGCT
3004.081 invoke click/core.py:518
└─ 2998.072 query prairiedog/cli.py:81
[392 frames hidden] prairiedog, pydgraph, grpc, threading...
2229.320 _blocking grpc/_channel.py:538
└─ 2229.317 [self]
741.442 _blocking grpc/_channel.py:538
The main thing would be to find a better way of doing Dgraph.find_edges_reverse()
We can prob get what we want by defining a reverse edge <er>
or something, for every edge. Then we can just query at normal speed
Didn't mean to close the issue. This will have to be tested at a future date