IceUI
Moderator: Moderators
Many of you had the same performance issues I had with my IceUI.. Trepan calls it "jerkiness" and he claims that updating Lua to version 5.1.2 reduced the jerkiness quite a bit..
I can't really test this since my new laptop doesn't really show that jerkiness.. So it would be really cool if some of you who noticed a periodical FPS drop could try it with the latest SVN build of Spring and report any changes in performance..
I can't really test this since my new laptop doesn't really show that jerkiness.. So it would be really cool if some of you who noticed a periodical FPS drop could try it with the latest SVN build of Spring and report any changes in performance..
There font rendering may also be the source of a general slowdown.
The 'jerkiness' is periodic, and is caused by lua's garbage collection
routine. Lua 5.1 added an incremental tunable garbage collector, and
so it performs better. You can tune the parameters using the DoLine
widget:
/luaui run collectgarbage(opt [, arg]) -- see the lua manual for more info
The 'jerkiness' is periodic, and is caused by lua's garbage collection
routine. Lua 5.1 added an incremental tunable garbage collector, and
so it performs better. You can tune the parameters using the DoLine
widget:
/luaui run collectgarbage(opt [, arg]) -- see the lua manual for more info
- 1v0ry_k1ng
- Posts: 4656
- Joined: 10 Mar 2006, 10:24
- 1v0ry_k1ng
- Posts: 4656
- Joined: 10 Mar 2006, 10:24
I have 45 fps standard, and this does not change significantly when I use LUA ui and various little widgets like factroy gaurd, idle cons.
When I use this GUI change I lost 10-15fps.
This loss of fps is caused by the resource bar from what I can see, as I dled the toolbar, box to show allied resources, and unit groups seperately and they didnt have much effect..
sorry if thats not helpul
When I use this GUI change I lost 10-15fps.
This loss of fps is caused by the resource bar from what I can see, as I dled the toolbar, box to show allied resources, and unit groups seperately and they didnt have much effect..
sorry if thats not helpul
My former widgets (Tooltip, Player Info and Resource Bar) don't have a lot of code in common with the new IceUI so that doesn't really mean anything if you compare those..
And yes: there's a lot of stuff to optimize and I will try to do that.. Though I will probably stick to lots of tables because it allows some nice flexibility.. If Spring becomes unplayable though, I have to change that core-stuff, too..
Anyway, what trepan did was reducing the "periodic slowdown" caused by the garbage collection and not the "general slowdown" caused by my sloppy programming .. So that's what should be tested if you want to help (as I said, this only refers to the latest SVN builds)..
And yes: there's a lot of stuff to optimize and I will try to do that.. Though I will probably stick to lots of tables because it allows some nice flexibility.. If Spring becomes unplayable though, I have to change that core-stuff, too..
Anyway, what trepan did was reducing the "periodic slowdown" caused by the garbage collection and not the "general slowdown" caused by my sloppy programming .. So that's what should be tested if you want to help (as I said, this only refers to the latest SVN builds)..
I released my current version of IceUI today. As I said there won't be any new versions for Spring 0.74b3 so this release will only work with current SVN builds of Spring. For details please see the description on UF.
Note that it's not hard to use the development builds of Spring. You don't have to compile anything. See this sticky for details.
I will have a stable and a development branch when the new stable Spring version gets released but I switched to SVN too late to make it possible with the current version of IceUI..
Note that it's not hard to use the development builds of Spring. You don't have to compile anything. See this sticky for details.
I will have a stable and a development branch when the new stable Spring version gets released but I switched to SVN too late to make it possible with the current version of IceUI..