Can spawning really affect the game when playing mostly inside the Imperial City?
The amount of spawns are probably the most important factor when it comes to performance, but FCOM doesn't affect the amount of NPCs in Imp City so nope. Unless you're using mods that add NPCs to Imp City, of course. Then, yes.
Besides turning off autosaves, make sure you have no interfering background processes running, either by running the game on a clean boot or using Game Booster or a similar utility. It will also free up some memory.