In general, plants thrive when there’s an abundance of nutrients in the soil, and compost is a great way to achieve that soil richness.  However, plants also need the minerals and grit that occur naturally in ground soil, and adding large quantities of compost to your planting area could throw off the ideal balance.  Also, heaping compost around your plant stems could lead to excessive moisture retention and potential fungal disease.