[Python-Dev] bsddb tests disabled by default (original) (raw)

Jesus Cea jcea at jcea.es
Sat Sep 20 05:36:35 CEST 2008


-----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


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


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-----



More information about the Python-Dev mailing list