In Canada there was a big court case over the civil right of "right to a speedy trial" where the courts said it had to be within 18 months for charges in provincial courts where most crime ends up. During COVID there was a giant backlog of trials created and a criminal lawyer I know told me half of her clients in recent years got their cases stayed (thrown out) because of this backlog. This apparently happened all over the country and included tons people who were charged for violent crimes.
https://decisions.scc-csc.ca/scc-csc/scc-csc/en/item/16057/i...