[Python-Dev] bsddb tests disabled by default (original) (raw)
Jesus Cea jcea at jcea.es
Sat Sep 20 05:36:35 CEST 2008
- Previous message: [Python-Dev] bsddb tests disabled by default
- Next message: [Python-Dev] bsddb tests disabled by default
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Brett Cannon wrote:
Well, 'time' says the test takes 16.09 sec user and 16.09 sec system on my MacBook, but a total execution time of almost 8 minutes. That is too long to be on by default.
Uhmmmm... That is very strange.
Under Solaris 10:
""" [jcea at tesalia trunk]$ time python2.6 test.py -bv Found Berkeley DB 4.7 installation. include files in /usr/local/BerkeleyDB.4.7/include library files in /usr/local/BerkeleyDB.4.7/lib library name is libdb-4.7 running build running build_py running build_ext Running tests from /export/home/pybsddb/trunk/build
- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Berkeley DB 4.7.25: (May 15, 2008) bsddb.db.version(): (4, 7, 25) bsddb.db.version: 4.7.3pre9 bsddb.db.cvsid: Id:bsddb.c6202008−09−1814:59:59ZjceaId: _bsddb.c 620 2008-09-18 14:59:59Z jcea Id:bsddb.c6202008−09−1814:59:59Zjcea py module: /export/home/pybsddb/trunk/build/lib.solaris-2.10-i86pc-2.6/bsddb3/init.pyc extension module: /export/home/pybsddb/trunk/build/lib.solaris-2.10-i86pc-2.6/bsddb3/_pybsddb.so python version: 2.6rc2 (r26rc2:66504, Sep 18 2008, 15:51:56) [GCC 4.2.3] My pid: 17223
- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= .................................................................................................................................................................................................................................................................................................................................
Ran 321 tests in 13.510s
OK
real 0m13.786s user 0m8.544s sys 0m1.636s
"""
A lot of the disk traffic generated by the testsuite is "syncronous". By default, under unix, the testsuite should be stored in "/tmp", that is usually a ramdisk or something similar. That is the case under Solaris 10.
I don't know about MacOS.
I'm executing the testsuite under linux, with a /tmp backed by a proper persistent FS (ReiserFS3). This machine is fairly busy, so the testsuite actual time should be better:
""" jcea at castor:~/mnt/particion_1/python/pybsddb/trunk> time python test.py -bv Found Berkeley DB 4.3 installation. include files in /usr/include/db4 library files in /usr/lib library name is libdb-4.3 running build running build_py running build_ext Running tests from /home/jcea/mnt/particion_1/python/pybsddb/trunk/build
- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Sleepycat Software: Berkeley DB 4.3.27: (September 9, 2005) bsddb.db.version(): (4, 3, 27) bsddb.db.version: 4.7.3pre9 bsddb.db.cvsid: Id:bsddb.c6202008−09−1814:59:59ZjceaId: _bsddb.c 620 2008-09-18 14:59:59Z jcea Id:bsddb.c6202008−09−1814:59:59Zjcea py module: /home/jcea/mnt/particion_1/python/pybsddb/trunk/build/lib.linux-i686-2.5/bsddb3/init.pyc extension module: /home/jcea/mnt/particion_1/python/pybsddb/trunk/build/lib.linux-i686-2.5/bsddb3/_pybsddb.so python version: 2.5.2 (r252:60911, Mar 13 2008, 12:51:08) [GCC 4.0.2 20050901 (prerelease) (SUSE Linux)] My pid: 19105
- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= ........................................................................................................................................................................................................................................................................................................................
Ran 312 tests in 37.984s
OK
real 0m38.718s user 0m17.905s sys 0m3.252s """
Jesus Cea Avion // /// /// jcea at jcea.es - http://www.jcea.es/ // // // // // jabber / xmpp:jcea at jabber.org // // ///// . // // // // // "Things are not so easy" // // // // // // "My name is Dump, Core Dump" /// //_/ // // "El amor es poner tu felicidad en la felicidad de otro" - Leibniz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQCVAwUBSNRvtplgi5GaxT1NAQKf6QP+P1pYzY02dlgJCKoLLlSjlFwOKa+uWrjK pqbJJFKIf8RTbMWGIutYPr03pdI1T0Y3JadVfHDC/lAc/59BcbOtMhKYFlAFPlik ZEC9oW02zzve0+thwpmxMPeKA6CeLboYW+cGkoUhtGayffQObrrTh0Zi47BcTUL6 e46liag7/ZA= =TCJf -----END PGP SIGNATURE-----
- Previous message: [Python-Dev] bsddb tests disabled by default
- Next message: [Python-Dev] bsddb tests disabled by default
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]