Author Topic: Version 244 comes with a huge performance issue  (Read 581 times)

Offline StefanO

  • Planewalker
  • *****
  • Posts: 8
Version 244 comes with a huge performance issue
« on: April 08, 2018, 08:35:01 AM »
Version 244 is much slower than Version 243. Some numbers:

The first initialisation stage of a stratagems installation took 19 minutes with Version 244, compared to 7 minutes with Version 243.

The AI initialisation stage with Version 243 took 31 minutes. With Version 244 it wasn't completed after 3 hours.

(I'm using a Mac, if that matters)

Offline Argent77

  • Planewalker
  • *****
  • Posts: 165
Re: Version 244 comes with a huge performance issue
« Reply #1 on: April 08, 2018, 04:09:26 PM »
Several weeks ago I switched from an old Mac OS X 10.7 (Lion) VM to a more recent macOS version, which also came with a new development environment. To retain compatibility with older OSX releases I had to compile the WeiDU binary in 32-bit legacy format, which hurts performance quite a bit. I'm planning to provide both legacy 32-bit and modern 64-bit binaries starting with the next WeiDU release, which hopefully provides better performance.

Btw, WeiDU 244 is just a minor bugfix release that provides a compatibility fix for BG2+TobEx installations on Windows. It should be safe to continue using WeiDU 243 in most cases.
« Last Edit: April 08, 2018, 04:10:05 PM by Argent77 »

Offline The Imp

  • Planewalker
  • *****
  • Posts: 255
  • Gender: Male
Re: Version 244 comes with a huge performance issue
« Reply #2 on: April 08, 2018, 05:53:27 PM »
Was the mods before the SCS's install exact same ? The SCS is extremely brittle to assumption traps where changing just a few things increase the install time by alots.

Offline StefanO

  • Planewalker
  • *****
  • Posts: 8
Re: Version 244 comes with a huge performance issue
« Reply #3 on: April 08, 2018, 09:06:33 PM »
For both cases the environment was identical: fresh install + some mods + stratagems


Offline The Imp

  • Planewalker
  • *****
  • Posts: 255
  • Gender: Male
Re: Version 244 comes with a huge performance issue
« Reply #4 on: April 09, 2018, 09:49:39 AM »
For both cases the environment was identical: fresh install + some mods + stratagems
What do the "some mods" include, is it the EXACT SAME MODS in both, or 45 creature mods in one, and 45 item mods in the other, with barely nothing in common ? There's a humongous difference between those, as you should know. Also, the SCS randomizes a few things that could cause different install time, of course, it should be smaller than what you experienced.

Offline StefanO

  • Planewalker
  • *****
  • Posts: 8
Re: Version 244 comes with a huge performance issue
« Reply #5 on: April 09, 2018, 09:52:48 AM »
Exact the same mods in exact the same order.

I‘ve installed stratagems more than 20 times in my life. Version 244 is somewhat special, to say the least. Is the windows 244 version ok?
« Last Edit: April 09, 2018, 09:55:47 AM by StefanO »

Offline Wisp

  • Moderator
  • Planewalker
  • *****
  • Posts: 992
Re: Version 244 comes with a huge performance issue
« Reply #6 on: April 11, 2018, 01:13:10 PM »
Like Argent77 says, there's nothing in the code that could reasonably have caused your problem.

I have an updated toolchain for Windows, but I don't think I used it for v244. I don't expect it to cause problems, but I decided against taking the chance for this version. I have not tested SCS with v244, but I would expect the larger Windows userbase would have complained if there had been a similar performance impact.

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?: