Message306721
> $ ./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? |
|
Date |
User |
Action |
Args |
2017-11-22 11:09:52 | vstinner | set | recipients:
+ vstinner, rhettinger, ncoghlan, r.david.murray, serhiy.storchaka, Decorater, Александр Карпинский, jbfzs |
2017-11-22 11:09:52 | vstinner | set | messageid: <1511348992.75.0.213398074469.issue27535@psf.upfronthosting.co.za> |
2017-11-22 11:09:52 | vstinner | link | issue27535 messages |
2017-11-22 11:09:52 | vstinner | create | |
|