Building Modules Slow
Archives Forums/Win32 Discussion/Building Modules Slow
| ||
Has anyone else noticed that BlitzMax is seriously slow in building modules on Windows? If I do a "Build modules" with nothing to build, it still takes 1-2 minutes. On a linux virtual machine with the same modules it takes more like 1-2 seconds. To a lesser extent, the same is true when building documentation or executables. I'm wondering if there's something wrong with my system, or if it just has to do with NTFS or MinGW or something. I used to only use a very old laptop for Windows programming, so I just assumed the slowness was because of the whole computer being slow. |
| ||
How do the # of files you have in your mod folders compare between both systems? I've found that rebuilding modules on my PC has gotten a lot slower as my mod folder has gotten larger, even when there's nothing to rebuild. |
| ||
I also find that bmk on Windows seems a bit slower at working through all the modules to determine if they need to be built or not. It might well be the filesystem. Linux feels particularly quick at iterating over the files. My Mac too. Interestingly, if I do a cross-compile on the Mac, it runs much more quickly (than Windows in VM running off a diskfile - although the compile times are similar) - but then the files are on the HFS+ filesystem, rather than NTFS. Otherwise, maybe it just "seems" slow :-) |
| ||
Does the neweset Flat assembler version (released today) helps a bit? -> http://flatassembler.net/download.php With my new cpu I don't really care about compiling times. Though official multicore support would be nice. ;) |
| ||
Does the neweset Flat assembler version (released today) helps a bit It shouldn't. The delays appear to be in the filesystem access. Although my multi-threaded BMK can half the build-time of the official mods on a multi-core system. |
| ||
Also, the textoutput on the console window is quite slow. I wish I could tell the compiler to print out the error messages only. |