refactor(macSpinner): Improve performance when compiling spinner