My Mac machine is extremely slow all of sudden? [closed]

I had a recent problem like that and it was because my disks were failing. My machine is a 2010 iMac though. I don't expect this to be the cause for you. But just to be sure you can run Drive DX an app to check the health of your drive. The app is not free but they have a free trial. If your disk is fine, I suggest EtreCheck. This app will tell you the status of your machine and generate a report about the info it finds. It told me my speed was well below the standard speed of my computer type. It also pointed out possible reasons for the speed drop. Etrecheck also has a free trial.

As a final step to quantify your speed drops by running Geekbench, which is an app that calculates the speed of your chips by running a few minutes' worths of tests. If gives you a single core and multicore scores and compares them with benchmarks for your machine type and you can compare your scores with scores from many others. This will give you some proof of your slowdown as well.