Sounds good, could I try it and run all those benchmarks etc. on it on my PCs? Jan Nicolai Hess wrote
Yes, the vm primitives, like I already told some messages above. FilePrimitives ARE slow on windows.
We may get better performance, if we disable windows file cache/buffering and use slightly different ways to do the CreateFile and WriteFile calls, and do the buffering on our own, but this is not easy.
Luckily (?), this may be alread work if we use the std file api (?)
A small dirty test:
store bench latest vm -> '22.098 per second' modified vm -> '31,027 per second'
(in the modified vm I replaced all file operation from sqWin32FilePrims.c with the code from sqFilePluginBasicPrims.c)
The result may seem strange, because both implementation will actually use win32s CreateFile/WriteFile methods, but maybe the second one uses better caching/buffering.
nicolai
-- View this message in context: http://forum.world.st/Slow-compilation-on-one-of-my-Windows-PCs-tp4834668p48... Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.