Jump to content

Recommended Posts

Posted

Just wondering if anyone else has this problem. All my leadwerks programs written in Blitzmax seems to run really slow when compiled in debug mode.

 

As an example I have a simple app which has a scene , some animated characters running about and thats about it but it runs at less than 30 fps in debug mode. 60+ when debug is unchecked.

 

Is this a windows 7 thing?

intel i5 2500k, ram 16gb, nvidia Geforce GTX570, asus xonar sound card. Windows 7 64 bit

Posted

Hi,

I don't believe it is a win7 thing. This is more related due the debug mode in bmx, But this is normal behaviour. In other languages this may not behave like this with LE, but thats because most languages use a release dll of leadwerks with no debug info at all where you use a real debug version of LE in bmx automatically.

  • Windows 10 Pro 64-Bit-Version
  • NVIDIA Geforce 1080 TI
Posted

Debug mode in bmax IS much slower.With 3 animations going I get 76 fps in debug mode and 250 in non debug mode.

I find that tweaking my animations in debug mode leads to unreliable results because of the speed difference between the 2 modes.

flip set to 0.

amd quad core 4 ghz / geforce 660 ti 2gb / win 10

Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++

Posted

Seems odd.I haven't noticed this any other engines when using blitzmax. oh well.

intel i5 2500k, ram 16gb, nvidia Geforce GTX570, asus xonar sound card. Windows 7 64 bit

Posted

Seems odd.I haven't noticed this any other engines when using blitzmax. oh well.

How many of those were written in BMX?

My job is to make tools you love, with the features you want, and performance you can't live without.

Posted

None that I am aware of.

 

So are you saying leadwerks engine itself is running in debug mode when this option is set because it was written in blitzmax. Interesting.

intel i5 2500k, ram 16gb, nvidia Geforce GTX570, asus xonar sound card. Windows 7 64 bit

  • 2 weeks later...
Posted

I don't know what the gtx570 card is like but a small scene should run faster than that in bmax.

amd quad core 4 ghz / geforce 660 ti 2gb / win 10

Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++

Posted

You could avoid the problem that the engine runs in debug mode by using engine.dll in BlitzMax. Then you can debug only your app, and not the engine.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...