In total I'm sending 600 bytes with this function, and I've been playing the variable newBufSize to change the size of the packets I'm sending. No matter what baud rate I set it to or what size packets I pick this code always takes at least 100ms which is all taken up in the serial writing calls. This is WAY slower than the baud rates I'm setting. However, if I switch to an FTDI serial device it takes closer to 1ms, which makes sense. Is RXTX shitty in some way? Is Mac's driver for generic USB CDC Serial devices crap? Is there an alternative?
I've been googling all day and night and I can't seem to find a definitive answer. I've updated and downgraded RXTX already.