witty-crayon-22786
03/05/2021, 5:52 PMhundreds-father-404
03/05/2021, 5:53 PMhundreds-father-404
03/05/2021, 5:53 PMenough-analyst-54434
03/05/2021, 6:31 PMhappy-kitchen-89482
03/05/2021, 6:33 PMenough-analyst-54434
03/05/2021, 6:34 PMwitty-crayon-22786
03/05/2021, 6:35 PMwitty-crayon-22786
03/05/2021, 6:35 PMenough-analyst-54434
03/05/2021, 6:36 PMhundreds-father-404
03/05/2021, 6:36 PMthe port from python 2 to 3 sped up pants at twitter by quite a bithttps://twitter.com/EArellanoAZ/status/1142213266384416773?s=20
enough-analyst-54434
03/05/2021, 6:37 PMwitty-crayon-22786
03/05/2021, 6:37 PMcpython
witty-crayon-22786
03/05/2021, 6:38 PMcpython
seems to support pypy.enough-analyst-54434
03/05/2021, 6:38 PMenough-analyst-54434
03/05/2021, 6:38 PMenough-analyst-54434
03/05/2021, 6:39 PMenough-analyst-54434
03/05/2021, 7:34 PM$ hyperfine --warmup 2 -L rev '2.7,3.5,3.6,3.7,3.8,3.9' 'python{rev} dist/pex --help'
Benchmark #1: python2.7 dist/pex --help
Time (mean ± σ): 285.2 ms ± 1.8 ms [User: 244.3 ms, System: 39.0 ms]
Range (min … max): 282.9 ms … 288.6 ms 10 runs
Benchmark #2: python3.5 dist/pex --help
Time (mean ± σ): 757.1 ms ± 8.3 ms [User: 708.3 ms, System: 45.6 ms]
Range (min … max): 743.2 ms … 767.2 ms 10 runs
Benchmark #3: python3.6 dist/pex --help
Time (mean ± σ): 754.3 ms ± 8.7 ms [User: 709.7 ms, System: 40.9 ms]
Range (min … max): 744.2 ms … 768.7 ms 10 runs
Benchmark #4: python3.7 dist/pex --help
Time (mean ± σ): 311.7 ms ± 4.0 ms [User: 279.3 ms, System: 30.6 ms]
Range (min … max): 304.2 ms … 318.0 ms 10 runs
Benchmark #5: python3.8 dist/pex --help
Time (mean ± σ): 345.7 ms ± 3.0 ms [User: 317.5 ms, System: 27.4 ms]
Range (min … max): 343.2 ms … 353.5 ms 10 runs
Benchmark #6: python3.9 dist/pex --help
Time (mean ± σ): 382.4 ms ± 2.9 ms [User: 341.4 ms, System: 39.2 ms]
Range (min … max): 377.7 ms … 386.4 ms 10 runs
Summary
'python2.7 dist/pex --help' ran
1.09 ± 0.02 times faster than 'python3.7 dist/pex --help'
1.21 ± 0.01 times faster than 'python3.8 dist/pex --help'
1.34 ± 0.01 times faster than 'python3.9 dist/pex --help'
2.64 ± 0.03 times faster than 'python3.6 dist/pex --help'
2.65 ± 0.03 times faster than 'python3.5 dist/pex --help'
This is totally typical in my day to day experience.