Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 493 Bytes

README.md

File metadata and controls

28 lines (18 loc) · 493 Bytes

Concurrent Python

A minimal example of concurrent Python. Please refer to my blog post for detail explain.

Single Thread Version

time python3 0_single_thread.py

Multi-thread Version

time python3 1_multi_thread.py

Multi-process Version

time python3 2_multi_process.py

Multi-process with shell

time (python3 3_mp_mul.py | python3 3_mp_add.py)