New submission from Peter Landgren <peter.tal...@telia.com>: 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) Linux 4.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 <rep...@bugs.python.org> <http://bugs.python.org/issue8516> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com