41ms to draw a single quad seems incredibly slow, even on ancient hardware - I recall being able to do drawing quite a lot faster than that to a crt even on an old 4MHz z80 cpu in the 1980s.
Is the slowness maybe from the IO to the display or maybe something else?