Jump to content

Blitzmax - Leadwerk apps run reallly slow in debug mode


Kronos
 Share

Recommended Posts

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

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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++

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 2 weeks later...

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 ■

Link to comment
Share on other sites

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.

 Share

×
×
  • Create New...