on-internet
← Community

How can I simulate CPU and memory stress in Python?

Stack Overflow ·

I would like to know if anyone wrote code in Python that simulates CPU and memory stress. I saw code loading the CPUs, but how can I force them to work on 90% usage?

Comments

Sign in or sign up to comment and upvote.

No comments yet.