xirja
![]() |
Surprisingly while testing the FF 6 beta in both Mac and Win OSs the following came to light:
The Win machine is much newer and is about 3x faster in all but the Lua scripts in which it is about 2x slower ![]() Filter: Glowing Spiral Win: 12.21 sec. Mac: 40.14 sec. Filter: Raytracing Win: 14.90 sec. Mac: 10.20 sec. Is there some setting in Windows 8.1 to accelerate Lua execution? Some i7 setting? _____________________________________________________
http://web.archive.org/web/2021062908...rjadesign/ _____________________________________________________ |
|
Posted: June 18, 2016 3:56 pm | ||
xirja
![]() |
Turns out this isn't limited to the FF6 beta, so maybe this topic should be moved to the 'Bugs and Problems (Windows)' section. I went back and tried 32 and 64 bit versions of FF5 and the same difference exists there too. So either there is something that makes Mac machines execute Lua scripts extremely fast, or something that makes Win machines execute Lua really slow?
_____________________________________________________
http://web.archive.org/web/2021062908...rjadesign/ _____________________________________________________ |
|
Posted: June 20, 2016 5:56 pm | ||
xirja
![]() |
My machines are offline, meaning they don't get updated, so, another possibility is that the C runtime libraries are too old ???
from http://www.luafaq.org/#T1.40 (Compatibility issues between Windows and Unix): "Lua depends more directly on the system's C runtime libraries than most scripting languages so you have to appreciate platform differences." I have: Visual C++ Runtime 2008 Visual C++ Runtime 2010 Visual C++ Runtime 2012 but am going to install the 'Visual C++ Redistributable for Visual Studio 2015' and see if that helps. Otherwise if the issue is on your end, perhaps this is helpful: http://luaprofiler.luaforge.net/manual.html _____________________________________________________
http://web.archive.org/web/2021062908...rjadesign/ _____________________________________________________ |
|
Posted: June 20, 2016 6:45 pm | ||
SpaceRay
![]() |
what are the computer specifications of the Mac and PC, are both the same? I mean if the WIndows based may be with a faster processor or performance than the Mac computer
|
|
Posted: June 21, 2016 3:40 am | ||
xirja
![]() |
Yes, to reiterate:
NEW Win machine is about 3x faster on: Filter: Glowing Spiral (and ALL other NON Lua script filters) Win: 12.21 sec. Mac: 40.14 sec. NEW Win machine is about 2x SLOWER on: Filter: Raytracing (Lua script filter) Win: 14.90 sec. Mac: 10.20 sec. My assumption is that because there is only CPU processing in FF, all filters should behave in a similar manner, so that the new Win machine SHOULD be about 3x faster regardless of lua script or not. Update: Updating the C runtime libraries doesn't help. ![]() _____________________________________________________
http://web.archive.org/web/2021062908...rjadesign/ _____________________________________________________ |
|
Posted: June 21, 2016 9:28 am | ||
xirja
![]() |
Just saw this about LuaJIT: https://www.filterforge.com/forum/read.php?TID=13573 , so I'll hang loose, hang tight, whatever.
But still, that ( Computer A / Computer B )[non-lua] ≠( Computer A / Computer B )[lua] baffles me. _____________________________________________________
http://web.archive.org/web/2021062908...rjadesign/ _____________________________________________________ |
|
Posted: June 22, 2016 7:07 am |
Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!
33,711 Registered Users
+18 new in 30 days!
153,531 Posts
+36 new in 30 days!
15,347 Topics
+72 new in year!
21 unregistered users.