Plugins don’t slow your site down. Bad code (which includes extra, unnecessary code) slows your site down. Bad code can exist in a plugin. Bad code can exist in a theme. 25 well-coded and useful plugins beats one block of bad code in a functions.php file. So shut it.