Quick Stresstest

A quick python script to eat up some cpu.

Run with this command to use more cores:

powershell: foreach ($i in 1..8) { Start-Job { python your_script.name.py } }

linux:for i in {1..8}; do python3 your_script_name.py & done

python:

import sys from decimal import Decimal, getcontext

import sysfrom decimal import Decimal, getcontext

def stress_test_pi():# Set […]