Homological behavior of idempotent subalgebras and Ext algebras