This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Decorater, jbfzs, ncoghlan, r.david.murray, rhettinger, serhiy.storchaka, vstinner, Александр Карпинский
Date 2017-11-22.11:09:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1511348992.75.0.213398074469.issue27535@psf.upfronthosting.co.za>
In-reply-to
Content
> $ ./python -m perf compare_to ref.json patch.json 
> Mean +- std dev: [ref] 903 ns +- 70 ns -> [patch] 1.06 us +- 0.06 us: 1.17x slower (+17%)

We are talking about a difference of 157 nanoseconds. On the same laptop, a Python function call which does nothing already takes 76.6 ns +- 4.1 ns. So the overhead of my PR 4489 is the cost of two Python function calls which do nothing. Do you think that it's an inacceptable overhead?
History
Date User Action Args
2017-11-22 11:09:52vstinnersetrecipients: + vstinner, rhettinger, ncoghlan, r.david.murray, serhiy.storchaka, Decorater, Александр Карпинский, jbfzs
2017-11-22 11:09:52vstinnersetmessageid: <1511348992.75.0.213398074469.issue27535@psf.upfronthosting.co.za>
2017-11-22 11:09:52vstinnerlinkissue27535 messages
2017-11-22 11:09:52vstinnercreate