Why is GRAMPS so slow?

View: New views
3 Messages — Rating Filter:   Alert me  

Why is GRAMPS so slow?

by Andreas Karlsson-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
I have been using GRAMPS on Windows Vista (dual core, 2.5 GB RAM) for some time. I have a database with more than 17000 persons.
 
I really love the layout of GRAMPS, with the flexibility is has on the many ways to organize ones genalogy data. I have checked out many other programs, but no one can be compared to GRAMPS in terms of flexibility in organizing ones genealogy data.
 
However, I have one very large problem with GRAMPS. It is very slow in saving data. When I edit a person and opens various dialog boxes for adding or changing date, places, and so on, the data is saved almost directly when I click on the OK button. However, when I click on the OK button of the main edit person dialog box, GRAMPS takes 10-15 seconds to save the data and close the edit person dialog. This is very irritating and makes GRAMPS almost unusable.
 
What could be the reason for this problem? I have tried everything I could think of, like deleting all attached media files, rebuilding the database, uninstalling other programs, and so on. But nothing helps.
 
I can think of a few possible reasons:
1. Some other program is interfering.
2. Windows Vista is slow
3. GRAMPS is slow since it is written in Python instead of e.g. C++
 
What could I do to make GRAMPS run faster?
 
Are there any other that have experienced similar problems?
 
Regards,
Andreas


kolla in resten av Windows LiveT. Inte bara e-post - Windows LiveT är mycket mer än din inkorg. Mer än bara meddelanden
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Gramps-windows mailing list
Gramps-windows@...
https://lists.sourceforge.net/lists/listinfo/gramps-windows

Parent Message unknown Re: [Gramps-devel] Why is GRAMPS so slow?

by Gerald Britton-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have been trying to get a handle on this issue for a while now.  I
must confess to being stumped.  Even on a much smaller database (the
sample one, about 2000 people) I see a delay after updating or adding
a person.  I'd really like to get to the bottom of this.

On Wed, Jun 17, 2009 at 6:15 AM,
Adrian<gramps.lists.sourceforge.net@...> wrote:

> Just a quick one, close any gramplets process on changed data, like the
> pedigree gramplet. It may help.
>
> A
>
> On Wed, 2009-06-17 at 12:11 +0200, Benny Malengier wrote:
>> 2009/6/17 Andreas Karlsson <andreas1973@...>:
>> > I have been using GRAMPS on Windows Vista (dual core, 2.5 GB RAM) for some
>> > time. I have a database with more than 17000 persons.
>> >
>> > I really love the layout of GRAMPS, with the flexibility is has on the many
>> > ways to organize ones genalogy data. I have checked out many other programs,
>> > but no one can be compared to GRAMPS in terms of flexibility in organizing
>> > ones genealogy data.
>> >
>> > However, I have one very large problem with GRAMPS. It is very slow in
>> > saving data. When I edit a person and opens various dialog boxes for adding
>
>
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> Gramps-devel mailing list
> Gramps-devel@...
> https://lists.sourceforge.net/lists/listinfo/gramps-devel
>



--
Gerald Britton

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Gramps-windows mailing list
Gramps-windows@...
https://lists.sourceforge.net/lists/listinfo/gramps-windows

Parent Message unknown Re: [Gramps-devel] Why is GRAMPS so slow?

by Gerald Britton-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hmmm.  Interesting results:

184991 function calls (184947 primitive calls) in 4.001 CPU seconds

That was on a 43-person database (the sample.ged in svn)

Lots to look at now!

On Wed, Jun 17, 2009 at 10:48 AM, Benny
Malengier<benny.malengier@...> wrote:

> 2009/6/17 Gerald Britton <gerald.britton@...>:
>> I have been trying to get a handle on this issue for a while now.  I
>> must confess to being stumped.  Even on a much smaller database (the
>> sample one, about 2000 people) I see a delay after updating or adding
>> a person.  I'd really like to get to the bottom of this.
>
> Some people have mentioned this as a regression over version 2.2.x of
> GRAMPS. I think they are correct. I have not had the free time to test
> this a lot though (and have done little updates to my own family tree
> since 2.2.x), but it seems starting from version 3.0 something changed
> that slowed things down.
> Try the trick with deactivating views to see if the viewing code is to
> blame, or the database update code.
> As a consequence of this issue, I  have documented on a bug report and
> in mailing lists the way to profile the save code of the edit person
> dialog, but nobody has actually done this work except me (and my short
> test did not show any slow save).  I have had other priorities
> however.
>
> I even wrote it down on the wiki after somebody mentioned the
> slowdowns (http://www.gramps-project.org/wiki/index.php?title=Debugging_GRAMPS#Use_profiling
> ) ....
>
> Benny
>
>> On Wed, Jun 17, 2009 at 6:15 AM,
>> Adrian<gramps.lists.sourceforge.net@...> wrote:
>>> Just a quick one, close any gramplets process on changed data, like the
>>> pedigree gramplet. It may help.
>>>
>>> A
>>>
>>> On Wed, 2009-06-17 at 12:11 +0200, Benny Malengier wrote:
>>>> 2009/6/17 Andreas Karlsson <andreas1973@...>:
>>>> > I have been using GRAMPS on Windows Vista (dual core, 2.5 GB RAM) for some
>>>> > time. I have a database with more than 17000 persons.
>>>> >
>>>> > I really love the layout of GRAMPS, with the flexibility is has on the many
>>>> > ways to organize ones genalogy data. I have checked out many other programs,
>>>> > but no one can be compared to GRAMPS in terms of flexibility in organizing
>>>> > ones genealogy data.
>>>> >
>>>> > However, I have one very large problem with GRAMPS. It is very slow in
>>>> > saving data. When I edit a person and opens various dialog boxes for adding
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Crystal Reports - New Free Runtime and 30 Day Trial
>>> Check out the new simplified licensing option that enables unlimited
>>> royalty-free distribution of the report engine for externally facing
>>> server and web deployment.
>>> http://p.sf.net/sfu/businessobjects
>>> _______________________________________________
>>> Gramps-devel mailing list
>>> Gramps-devel@...
>>> https://lists.sourceforge.net/lists/listinfo/gramps-devel
>>>
>>
>>
>>
>> --
>> Gerald Britton
>>
>



--
Gerald Britton

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Gramps-windows mailing list
Gramps-windows@...
https://lists.sourceforge.net/lists/listinfo/gramps-windows