Fluid dynamics, corpses, lots of items outside stockpiles and excessive path finding are all known to cause serious slow downs. Since the game is in beta and so often large part a rewritten, it doesn't make a lot of sense for the developer to spend large amounts of time optimising these parts of the code. There are lots of posts on the forums for the game that detail ways to avoid some of the worst slow down issues.