Author jimmylai
Recipients asvetlov, jimmylai, vstinner, yselivanov
Date 2018-05-19.17:31:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1526751103.21.0.682650639539.issue33521@psf.upfronthosting.co.za>
In-reply-to
Content
@vstinner Thanks for the new benchmark, it provides more detailed wins:
It's 1.64x faster for future object and 1.23x faster for non-future object.
$ ./python.exe -m perf compare_to isfuture_original_2.json isfuture_optimized_2.json
future: Mean +- std dev: [isfuture_original_2] 224 ns +- 8 ns -> [isfuture_optimized_2] 135 ns +- 2 ns: 1.66x faster (-40%)
task: Mean +- std dev: [isfuture_original_2] 224 ns +- 6 ns -> [isfuture_optimized_2] 137 ns +- 3 ns: 1.64x faster (-39%)
regular_func: Mean +- std dev: [isfuture_original_2] 443 ns +- 5 ns -> [isfuture_optimized_2] 361 ns +- 5 ns: 1.23x faster (-18%)
str: Mean +- std dev: [isfuture_original_2] 449 ns +- 15 ns -> [isfuture_optimized_2] 360 ns +- 12 ns: 1.25x faster (-20%)
History
Date User Action Args
2018-05-19 17:31:43jimmylaisetrecipients: + jimmylai, vstinner, asvetlov, yselivanov
2018-05-19 17:31:43jimmylaisetmessageid: <1526751103.21.0.682650639539.issue33521@psf.upfronthosting.co.za>
2018-05-19 17:31:43jimmylailinkissue33521 messages
2018-05-19 17:31:43jimmylaicreate