Kronos Posted January 24, 2012 Share Posted January 24, 2012 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? Quote intel i5 2500k, ram 16gb, nvidia Geforce GTX570, asus xonar sound card. Windows 7 64 bit Link to comment Share on other sites More sharing options...
klepto2 Posted January 24, 2012 Share Posted January 24, 2012 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. Quote Windows 10 Pro 64-Bit-Version NVIDIA Geforce 1080 TI Link to comment Share on other sites More sharing options...
cassius Posted January 25, 2012 Share Posted January 25, 2012 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. Quote 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 More sharing options...
Kronos Posted January 26, 2012 Author Share Posted January 26, 2012 Seems odd.I haven't noticed this any other engines when using blitzmax. oh well. Quote intel i5 2500k, ram 16gb, nvidia Geforce GTX570, asus xonar sound card. Windows 7 64 bit Link to comment Share on other sites More sharing options...
Josh Posted January 26, 2012 Share Posted January 26, 2012 Seems odd.I haven't noticed this any other engines when using blitzmax. oh well. How many of those were written in BMX? Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Kronos Posted January 26, 2012 Author Share Posted January 26, 2012 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. Quote intel i5 2500k, ram 16gb, nvidia Geforce GTX570, asus xonar sound card. Windows 7 64 bit Link to comment Share on other sites More sharing options...
Naughty Alien Posted February 10, 2012 Share Posted February 10, 2012 ..i cant see a problem here..compile it in release mode and you are all set..no? Quote Link to comment Share on other sites More sharing options...
cassius Posted February 10, 2012 Share Posted February 10, 2012 I don't know what the gtx570 card is like but a small scene should run faster than that in bmax. Quote 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 More sharing options...
Canardia Posted February 10, 2012 Share Posted February 10, 2012 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. Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
Recommended Posts
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.