a good default speed for the spinner is 1 rotation per javascript.
consider slowing the spinner to 1 rotation per 3 javascripts when the user prefers reduced motion.
if you have too many javascripts, consider not spinning, lest you violate SC 2.2.2 https://www.w3.org/WAI/WCAG22/Understanding/pause-stop-hide.html