@Payet_Romain wrote:
Hi,
I found something strange with MonoGame behavior.
I have two computers for my test:
Desktop: i7 5820k + GTX 1080
Laptop: i5 2410M + GT540Mthe two computers have windows 10 and Monogame 3.5.1.1679 installed.
I have performance issue on the laptop, I think that was because of the difference of hardware perf.
but after some test I found something strange.
My project (Windows/OpenGl) act differently on this two computer.The draw time of 3d models are about two time slower on the laptop as expected i guess.
But the strange thing is this is not the cause of my bad fps.
I measured the execution time of Microsoft.Xna.Framework.Game.DoDraw(GameTime) with Resharper, here my result:
On the desktop platform :
99.90% MyGame.Draw(GameTime)
0.09% Microsoft.Xna.Framework.Game.EndDrawOn the Laptop:
22.31% MyGame.Draw(GameTime)
77.69% Microsoft.Xna.Framework.Game.EndDrawWith the laptop 72% of the time used by Game.DoDraw are used by Game.EndDraw, I don't know if this is normal...
I try to search a reason for this in MonoGame's source without success.
I don't know how to get out of this do you have an idea ?
Thanks for reading.
Posts: 5
Participants: 4