Only the application pool of your SharePoint project will recycle. Note that you define the site url in properties window of your project. Then when you deploy the project note that in "Output" window, you can see:
Recycle IIS Application Pool:
Recycling IIS application pool '<application pool name>'...
So just the application pool related to your site url will recycle.