Hi. I have a summer student working on Cytoscape (graph visualization/analysis software)-Neo4j integration project using Blueprints framework.
https://github.com/keiono/blueprints-graph-cytoscape/wiki Currently, I've got a question from him which I do not know the answer. Here is the very simple test code. It adds 1000 Vertices to Neo4j Graph using CommitManager: @Test public void testPerformance() { long start = System.currentTimeMillis(); final CommitManager manager = TransactionalGraphHelper.createCommitManager( (TransactionalGraph) graphImplementation, 1000); for (int i = 0; i < 1000; i++) { net.addNode(); manager.incrCounter(); } manager.close(); final long time = (System.currentTimeMillis() - start); System.out.println("Nodes added in " + time + " msec."); assertEquals(1000, net.getNodeCount()); // If we does not use transaction utility method, this can be minutes or hours... assertTrue(2000>time); } https://github.com/keiono/blueprints-graph-cytoscape/blob/master/src/test/java/org/cytoscape/blueprints/implementations/Neo4jTest.java where net is a wrapper object for Cytoscape graph model, and addNode() method simply calles graph.addVertex() method in Blueprints' Graph API. This test passes in less than a second on my MacBook, but on Windows PC, it takes 1+ minutes to finish. Seems transaction is not working correctly on Windows, but I do not understand why it happens only on Windows. Could you give me any suggestions to solve this Windows-dependent problem? Thanks, Kei Cytoscape Core Developer -- Keiichiro Ono http://www.keiono.net/ _______________________________________________ Neo4j mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user

