Specs: Intel Core i7-6500U @ 2.50GHz x 4 HP ENVY Notebook 16384MB RAM Display: Intel HD Graphics 520 Render: NVIDIA GeForce GTX 940M Windows 10 Pro version 1909
(I typed that out from dxdiag without using the save all info button)
It seems that my computer has sufficient hardware, but I need to clean up files that slow down my computer and I don't know which ones. I have already run Disk Cleanup and Optimize Drives.
Let me know if you need any more specs. I normally get 20-30 fps.
This question has been flagged as a possible duplicate of How can I improve the performance of Minecraft?, so here's why not:
OptiFine (Minecraft Forum Link) reworks a number of rendering details to improve Minecraft performance (+20fps). Many people go crazy about it on the forum, others say that it just doesn't work so YMMV.
I have already installed OptiFine and tried other mods such as Sodium.
Within the options menu (Esc -> Options), set Graphics to Fast and set Render Distance to Tiny.
I have done this and saw a small performance increase. (~10 fps)
Close any programs you can spare to lose (ie internet browser, messenger, music). If you're really desperate, you can open your task manager (Ctrl + Alt + Delete -> Start Task Manager) and select the "Processes" tab. Order by "Memory" and have a look at what's taking up so much processing power on your computer (Minecraft will be listed as javaw.exe). Use the End Process button to stop a selected process.
I use Razer Cortex for this and it does a pretty good job.
Change Minecraft's processing priority.
This actually doesn't affect my FPS in any way.
If all else fails, you might have to upgrade your computer. You can get plenty of cheap, new choices at Amazon.com.
Yes, thinking of trying this.
All other answers to the question were out of date. I would like to get some new answers to this issue on Arqade!
Could you also extend help to software like Unity or Blender? Thanks in advance.