Best way to run processing sketch in webpage

What advantage is there to p5 compared to processingJS? As far as I read, and this may be outdated, p5 has more framerate issues and also javascript syntax. Does that mean I need to learn p5? How difficult is it to convert a processing sketch into p5?