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