alantech / alan

Autoscalable Programming Language
https://alan-lang.org
MIT License
305 stars 10 forks source link

Fix benchmarks on windows #770

Closed dfellis closed 2 months ago

dfellis commented 2 months ago

Now that I have a little Intel NUC to use for testing Windows, I manually tested and noticed a small problem with the benchmarks. This should fix that and also enable testing with it. Since I have only one Windows machine, I have also trimmed the work done on Windows vs Linux to try and reduce an increase in latency. I have also forced the normal testing path to use Linux so it doesn't accidentally clog up the Windows machine's queue.

dfellis commented 2 months ago

Screenshot from 2024-06-20 00-14-40

Not sure how much of this slowdown is due to Windows, how much is due to this being a NUC (though it's got a good SSD, 32GB of RAM, etc...), etc, but the benchmarks take 50% more time and the test suite is about 150% slower, and these two have to run sequentially, taking the testing time up from 4 minutes to 11 minutes. :/

But it works!