Performance of a continuously rotating half-wave plate on the POLARBEAR telescope