Using ofMesh, I got 30fps no matter what renderer I chose, even when I created over 10,000 lines!
The programmable renderer never caused any problems either for me. But this time, I had to draw so many lines and encountered this kind of problem.
Thanks a lot for your advice, Andreas.