I'm truly confused by how the performance is so much worse in singleplayer versus hosting a dedicated server and playing the game on the same PC. When running a dedicated server and playing multiplayer I'm getting 100-144 FPS with graphics maxed even when playing with a friend. When I play in singleplayer I'm getting like 50-80 FPS (same graphics settings). So basically runs at half the performance when playing singleplayer. Even if singleplayer is hosting a server and I'm playing it, it should have better performance than multiplayer since I'm doing the same thing but my friend is also playing on the server at the same time. Why is it so much worse? Is there something I can do to fix this or is it a known issue? I don't just want to play solo on the server since I'd prefer to just play that world with my friend.
My PC is for reference: Ryzen 9 7900x, Radeon 7800xt (16 GB VRAM), 64 GB RAM, OS: Windows 11