The performance of the NSLS mini-undulator