usunyu   Stay hungry. Stay foolish.

Limit HandBrake and others from taking 100% CPU

For macOS, Download cputhrottle

Unzip it, then in a terminal, make it executable:

chmod +x ./cputhrottle

Make sure open Security & Privacy to allow the app.

sudo cputhrottle 46240 100

To avoid having to manually lookup the PID, and to run the cputhrottle process in the background, use the following:

sudo cputhrottle $(pgrep -f HandBrakeXPCService) 100 &

Stop cputhrottle:

sudo pkill cputhrottle

Update:

Use CPUSetter instead, don’t forget to donate the author :)

Reference: