Display Slow with platformio

Hi all, I have the following somewhat strange problem.

I have the GC9A01A display connected via SPI port to my Stm32f103Ret6, With Arduino IDE
I compile the demo of the examples, load and everything works pretty fast.

I do the same thing with Plaformio but the display clearly shows that it goes slower.

I saw that in the idea of Arduino there is the possibility to change the clock speed of the cpu. I have seen that between the three speeds I clearly have improvements in the response speed of the display.

My question, can I change speed on platformio too? how you do it?

Thank you
Albert!

Check if you`re using the same core with Arduino IDE and PlatformIO.