The Bill of Rights grants the right to a speedy trial in the Sixth Amendment. California defines speedy as being within 30-45 days following the arraignment of a misdemeanor case. The time between arrest and arraignment varies depending on whether the accused is taken into police custody or released with an order to appear at a later date. In the event of being taken into custody, the accused is typically arraigned within 48 hours.
If the case is going to trial and there is an abundance of evidence or witness accounts to review during discovery, the accused can consult with their attorney on waiving the right to a speedy trial. If negotiations toward a plea deal are ongoing as a trial date approaches, putting off the trial may also be worth considering. If that happens, there isn’t a legally defined timeframe for when the prosecution must bring the case to trial.