Author serhiy.storchaka
Recipients Arfrever, Claudiu.Popa, Jim.Jewett, ncoghlan, python-dev, serhiy.storchaka
Date 2014-05-13.11:23:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1399980189.41.0.276680139446.issue19385@psf.upfronthosting.co.za>
In-reply-to
Content
Claudiu, your benchmark is broken, it measure a no-op.

Correct benchmark:

    $ ./python -S -m timeit -n 100000 -s "import dbm.dumb as dbm; d=dbm.open('x.dat', 'c')"  "len(d)"

3.4:  100000 loops, best of 3: 2.56 usec per loop
3.5:  100000 loops, best of 3: 4.17 usec per loop

There is 60% regression.
History
Date User Action Args
2014-05-13 11:23:09serhiy.storchakasetrecipients: + serhiy.storchaka, ncoghlan, Arfrever, Claudiu.Popa, python-dev, Jim.Jewett
2014-05-13 11:23:09serhiy.storchakasetmessageid: <1399980189.41.0.276680139446.issue19385@psf.upfronthosting.co.za>
2014-05-13 11:23:09serhiy.storchakalinkissue19385 messages
2014-05-13 11:23:09serhiy.storchakacreate