Figma API - createEllipse performance issue

Hi, i’m writing a Figma plugin and at some point I need to create ellipse over the design.
I notice that it takes some time, so when I need to create multiple (above 10) it’s kind of slow. tried different shapes, same issue.

I wonder if anyone else experience it and if there’s a workaround or other solution than createEllipse. I need any kind of shape with a number inside.

I tried create shapeWithText but got an error that it’s not a function, I assume since it’s for FigJam only.