Another one result (Sorry i have tested it on Linux box):
model name : AMD FX(tm)-6350 Six-Core Processor
serg@debianserver:~# lua CPUscore.lua
test
1295
1295
serg@debianserver:~#
As I see 6 cores AMD CPU was produced in 2013 is a little slower that 4 cores Intel was produced 2017 ! Phenom has few running docker images and this activity is slowing it down !
Lets imagine if we can use only one core :
Intel i7-7770 time = 1202 * 4 = 4808
Intel i7-4980hq = 14924 = 5968
AMD Phenon 6350 time = 1295 * 6 = 7700
After this I've used pages from
https://cpu.userbenchmark.com/Compare/Intel-Core-i7-7700-vs-Intel-Core-i7-4960HQ/3887vsm9629
https://cpu.userbenchmark.com/Compare/Intel-Core-i7-7700-vs-AMD-FX-6350-Six-Core/3887vsm713 and compared all my CPUs
4960 is slower 20 % single core (no 4980 in list) = 48081.2= 5889.6
AMD Phenom is slower 65% single core = 4802*1.65 = 7933
Looks Like new lua can use more that one core and it is not good for single core (2 cores) game.
I'm proposing to multiply the current CPU score by CPU count and divide it by 2.