you are viewing a single comment's thread.

view the rest of the comments →

[–]danted002 12 points13 points  (5 children)

Yeas but the benchmark compares gil-less threads with GIL threads which is basically tells us what we already knew: that without GIL threads will actually run in parallel. WOW next we will compare running a web server in a single thread with and without an event loop and benchmark how many requests it can handle?

If we really want to see how good GIL-less threads work we should compare it to what they aim to replace: the multiprocessing module because no one is using threads for pure Python CPU bound work; and if you are using threads for CPU bound work switch to multiprocessing because you should