Used SRAM once – didn’t last long at all. My experience of Shimano – the more you pay, the longer (marginally) they last, the nicer they look and the lighter they are.
The two main types of shimano mech are top swing (with a low clamp) and bottom swing (with a high clamp). Top swing have lots of pivots and thin plates, the shifting tends to be smooth and with a light action, but the durability, with all those pivots, isn’t great & shifting suffers over time. Bottom swing are much longer lasting and are stiffer, but the action isn’t as light top swing.
I had one incidence where a bottom swing mech clamp band fouled the lower bottle boss on the seat tube. If you have a low bottle mount, it would be worth getting a top swing.