[issue8516] Speed difference between Python 2.5 and 2.6 during filling bsddb database.

2011-03-14 Thread Jesús Cea Avión

Jesús Cea Avión  added the comment:

Python 2.7 is out for a year now, and BSDDB is not present in Python 3.

I mark this as closed/out of date.

Any bug in pybsddb must be reported to the external package at 
http://www.jcea.es/programacion/pybsddb.htm

--
assignee: jcea -> jafo
nosy: +jafo
resolution:  -> out of date
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8516] Speed difference between Python 2.5 and 2.6 during filling bsddb database.

2010-04-24 Thread Tim Lyons

Tim Lyons  added the comment:

I see the same slowdown in Mac OS X with python 2.6 and bsddb 4.7.3 (4.7.25). 
(So, same version as Windows, and same versions as apparently run OK in linux).

I rely on MacPorts to use these products, so have no idea how I would use 
bdsdb3 still less python 2.7.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8516] Speed difference between Python 2.5 and 2.6 during filling bsddb database.

2010-04-24 Thread Peter Landgren

Peter Landgren  added the comment:

1. Sorry, I made a mistake this morning. (Had to run to a funeral.)
These are the correct version:
Python 2.5 Python 2.6
Windows  4.4.5.3 (4, 4, 20)4.7.3 (4.7.25)
Linux4.4.5.3 (4, 6, 21)4.7.3 (4.7.25)

So, the same versions of bsddb and DB in Python 2.6 gives the slow speed 
performance with Windows but not with Linux. This means that the Windows and 
Linux environments are equal as far as I can see.
 
2. I installed bsddb3 5.0.0 without any problem, but I had to move libdb48.dll 
from c:\Python26\bsddb3\utils\
to c:\Python26\Lib\site-packages\bsddb3\
otherwise it could not be found. Any explanation for this?

3. Could not run Gramps in Windows with Py 2.7 as Gramps needs pygtk, pycairo 
and pygobject to run.

It seems to be a strange issue. It can be worked around by using bsddb3 in 
stead in Gramps for those who needs it. It is only a problem when you import a 
backup or a GEDCOM and when you rebuild reference maps, which you don't do very 
often. It's not a issue with normal usage of Gramps.

So, maybe let it wait until 2.7 is out?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8516] Speed difference between Python 2.5 and 2.6 during filling bsddb database.

2010-04-24 Thread Jesús Cea Avión

Changes by Jesús Cea Avión :


--
nosy: +guy.linton

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8516] Speed difference between Python 2.5 and 2.6 during filling bsddb database.

2010-04-24 Thread Jesús Cea Avión

Changes by Jesús Cea Avión :


--
assignee:  -> jcea

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8516] Speed difference between Python 2.5 and 2.6 during filling bsddb database.

2010-04-24 Thread Jesús Cea Avión

Jesús Cea Avión  added the comment:

Please, install Berkeley DB 4.6.X in linux and reinstall bsddb3 to use it, 
instead of BDB 4.7. Would be a good idea to install pybsddb 4.7.3, too, to 
mimic Windows environment under linux closely.

After doing this, and verifying that linux resemble now the Windows 
environment, try the DB load again.

I need to confirm if the issue is in bsddb module, Berkeley DB code or BDB 
interaction with Windows OS/Filesystem.

Anyway, if installing a modern bsddb3 (note that we have 5.0.0 available) makes 
the problem go away, it is a non-issue. Python 2.6 is basically in 
security/crashes fixes only now. Or very close to it.

With python 2.7 almost ready, I would try the beta too, to confirm this problem 
is not a problem anymore.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8516] Speed difference between Python 2.5 and 2.6 during filling bsddb database.

2010-04-24 Thread Ezio Melotti

Changes by Ezio Melotti :


--
nosy: +jcea
priority:  -> normal
stage:  -> unit test needed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8516] Speed difference between Python 2.5 and 2.6 during filling bsddb database.

2010-04-24 Thread Peter Landgren

New submission from Peter Landgren :

The time it takes, in the application Gramps, to fill an empty bsddb database 
by importing an XML backup or a GECDOM file, incrises from about 2 minutes to 
about an hour in Windows XP ana Windows 7. No such degradation has been sen in 
Linux.

The Gramps code was the same in all test cases.
The running conditions were:
 
Python 2.5 Python 2.6
Windows  4.4.5.3 (4, 6, 20)4.7.3 (4.7.25)
Linux4.4.5.3 (4, 6, 21)4.7.3 (4.7.25)

Note one little version difference between Windows and Python.

If I install bsddb3 and change Gramps code for that, no noticable speed 
degradation can be seen.
Windows only with Python 2.6  bsddb3 4.8.4 (4.8.26).

I have run profiling and attach the results.

(Sorry for the fuzz I made in issue 8504.)

The only way of providing a test case,as far as I can find, is to install 
Gramps, create a new Family Tree (empty database) and import an test XML 
backup. There are two testcases (*.gramps)  available in:
http://gramps.svn.sourceforge.net/viewvc/gramps/branches/maintenance/gramps32/example/gramps/

Gramps can be found at: 
http://www.gramps-project.org/wiki/index.php?title=Installation

--
components: Library (Lib)
files: statistics_for_python_25_26_run.txt.tar.gz
messages: 104067
nosy: PeterL
severity: normal
status: open
title: Speed difference between Python 2.5 and 2.6 during filling bsddb 
database.
type: performance
versions: Python 2.6
Added file: 
http://bugs.python.org/file17063/statistics_for_python_25_26_run.txt.tar.gz

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com