News for hackers. Stuff that matters.
Re:Optimizations which made Python 3.6 faster than Python 3.... by mkl on Tuesday June 06, 2017 @02:18AM (#14495159)
My times on x86-64 Linux are similar to yours, but on the Windows Subsystem for Linux (which emulates the Linux kernel) it's a different story:

  $ time python2 -c exit
  real    0m0.111s
  user    0m0.016s
  sys     0m0.078s

  $ time python3 -c exit
  real    0m0.063s
  user    0m0.016s
  sys     0m0.047s
Python 3 is consistently ~twice as fast. Both seem slower, but this is on a small laptop so the absolute measurements may not be comparable. This is on Creators Update.

There are no comments on this comment yet.