From: BtySgtMajor <btysgtma...@gmail.com>
Date: Mon, 1 Oct 2012 09:24:23 -0700 (PDT)
Local: Mon, Oct 1 2012 12:24 pm
Subject: Re: [Neo4j] Logging Performance and Query Times (via console and SDN)
Just thought I'd try again here. Concerning; >> What's slowing things down is this: My conversion of findAll()'s return type (i.e. a ClosableIterable) into a Collection (via IteratorUtil.asCollection(...) is what's taking up the majority of the time. Has anyone come across this before? All my nodes/relationships are left at Thanks again! On Friday, September 28, 2012 5:08:32 PM UTC-4, BtySgtMajor wrote:
> Actually, something I just came across and hadn't anticipated. > The repository call is actually pretty quick; on the order of several > While it could be better (given that it's only 550 nodes being returned), > What's slowing things down is this: My conversion of findAll()'s return > So, this is either something I've forgotten about since my hardcore Java > Thoughts are welcome (I've probably overlooked something obvious). > So, long story short: The timing code I need can likely wait until I have > BTW, I found that the findAll() method was just as quick (if not quicker) > Thanks again guys! Very excited going through all this! > On Friday, September 28, 2012 3:55:29 PM UTC-4, BtySgtMajor wrote: >> Hi Michael, >> What you're proposing in terms of adding time logging for repos/queries >> I'll give the logging proxy bit a look as I have a chance. As for the >> With respect to my code, there's really not all that much. >> Essentially, from within one of my Spring MVC controllers, I have a >> Collection<Game> allGames = >> And, the "gameRepository" is declared like this: >> public interface GameRepository extends GraphRepository<Game>, >> That's about it. Just keeping things simple. >> The "Game" model does have a few relationships; however, all >> Currently, running the code above takes, on average, about 35s to >> If I run the same query via Cypher on the Neo4j console, it takes a >> Also, if I just fetch a single game via the gameId via SDN, it takes >> So, like I said, early days, and I'm trying to really dig in and find >> Let me know if you want/need additional info/code and, if so, what it >> Thanks again, Michael! >> Cheers, >> On Friday, September 28, 2012 2:01:30 PM UTC-4, Michael Hunger wrote: >>> Duncan, >>> that is a good point actually. >>> I can add time logging to the repositories / queries in SDN. Due to the >>> Can you share some of the code you're talking about? >>> An more or less easy way to do it for you might be putting a >>> Alternatively if you're more adventurous adding a filter (via an >>> HTH >>> Michael >>> Am 28.09.2012 um 08:26 schrieb BtySgtMajor: >>> Hi all, >>> So I'm getting into some good stuff here as I dig into Neo4j deeper. >>> My question is this: Is there a way in the server/logging config in >>> Thanks in advance! Exciting times! >>> Cheers, >>> -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||