Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IDE almost flatlines 4 of 4 cpus - linux - any cure?
#3
If you're editing via the IDE then there's not a whole lot you can do, I would consider editing using a different editor and compiling your code via the command line. I've used geany, vim, gedit, etc. There's lots of good choices on Linux and all of those are very lightweight.

You can use:
Code: (Select All)
qb64pe -x ./foobar.bas -o ./foobar
to compile your code from the command line. It's pretty straight forward to set that up to run from most editors so that you can just hit a button.

If it's the compiling of your code that causes the issue then in `Options -> Compiler Settings` you can change the max number of compiler processes allowed, it defaults to 3 but you could set it to 1. This is unlikely to do a ton though as the build is not very parallel anyway, and we avoid rebuilding things when not necessary. That said the compiling should get faster after the first time you compile a program, as it's the recompiling of `libqb.cpp` that will likely cause the slowdown but that shouldn't happen often.
Reply


Messages In This Thread
RE: IDE almost flatlines 4 of 4 cpus - linux - any cure? - by DSMan195276 - 07-27-2024, 02:44 PM



Users browsing this thread: 1 Guest(s)