You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
likely class loader is to blame. Java will only load classes when they are being used, meaning when you instantiate an object with large class hierarchy behind it - it will take a lot of time. Try:
OrientGraphg0 = factory.getNoTx(); //force class loaderOrientGraphg = factory.getNoTx(); //<- measure thisList<Object> list = g.traversal().V()...toList();
g.close();
Hi, I notice that there are high cost of first query using OrientGraphFactory.
First query will exceed 100ms in my test,
getNoTx
cost 517msg.traversal().V()...toList()
cost 266ms.How can I improve the performance?
The text was updated successfully, but these errors were encountered: