Earlier quoted context omitted.
We don't know if they underperfomed so much as weren't cost effective. If the switchblade costing $10k results in a kill 80% of the time, while the $1k drone is 30% of the time, you just get 3 times as many $1k drones, average about the same kill rate, and save 70% to boot. Or spend the same amount and get about 3x the kill rate.
It is not just production cost, the average latency between target detection and target destruction has a large impact on battlefield dynamics. More precise weapons can destroy most of the capability of less precise weapons before they are ever used. Additionally, precision weapons typically have a much smaller logistical footprint, and logistics can make or break military campaigns. Much of the US focus on precision…
With artillery that's certainly true. On the other hand, Ukraine moved from expensive Bayraktar drones in 2021 to primarily drones in the 1k-10k price range today. Cheaper weapon systems allow them to be deployed in more places. Getting 5000 drones for the price of 5 drones might be worse for logistics, but it also means some will always be where you need them, doing wonders for the latency between target detection and target destruction.