I've had also bad results on windows...
Windows XP 32bit (VirtualBox) - 178.200 (compilations per second)

compared to

Ubuntu 32bit (VirtualBox) - 694.932
Debian 64bit (host) - 669.932

I had also had experience with Git handling small files on windows was
incredibly slow... so maybe it has something to do with disk writes?
What exactly is happening when a method is compiled? A write to changes
browser, to the image, parsing, ...?

Peter

On Mon, Jun 29, 2015 at 7:52 PM, Jan Blizničenko <blizn...@fit.cvut.cz>
wrote:

> Hello
>
> I have a long-term problem with loading of packages. Compilation takes very
> long time on my Windows PCs. On desktop it takes "only" double amount of
> time in comparison with linux, but on notebook, it is more than 10 times
> slower. Desktop has Windows 7 Ultimate 64-bit and notebook PC with Windows
> 7
> Home Premium 64-bit, both have somehow similar specs (4-6 years old
> dual-core processors on 2,9 and 2,4 GHz), similar software, both have
> magnetic HDDs. I believe it used to take very long time on my notebook too,
> but I tried opening Pharo there again and it was somehow OK, but I'm not
> aware of any major change which could have caused it ... I mean... a lot
> changes on my PCs, but I can't remember anything which could directly
> affect
> it.
>
> Following "benchmarks" are both on same (copy paste) of VM - Windows VM 453
> from 2015-06-18. Both on clean image 50141. All tested in as much as
> similar
> conditions as possible with everything else (possible) turned off. However,
> it used to be slow like that for a long time on multiple previous VMs and
> images since I can even remember (which is about a year).
>
>
> [
>         Gofer new
>                 configurationOf: 'Roassal2';
>                 url: '
> http://smalltalkhub.com/mc/ObjectProfile/Roassal2/main/';
>                 loadDevelopment.
> ] timeToRun inspect.
>
> Desktop: 386 s.
> Notebook: 48 s.
> Linux in VM on notebook: 27 s.
>
>
>
> |results|
> results := OrderedCollection new.
> 20 timesRepeat: [results add: (Float readFrom: [
> Object compile: 'a'.
> ] bench)].
> ('compilations per second - avg: ', results average asString, ', min: ',
> results min asString, ', max: ', results max asString) inspect.
>
> Notebook: compilations per second - avg: 217.7153, min: 5.0, max: 247.258
> Desktop: compilations per second - avg: 23.1337, min: 19.448, max: 28.155
> Linux in VM on notebook: compilations per second - avg: 529.0066600000001,
> min: 5.0, max: 573.97
>
>
> I tried turning off antivirus, turning off file indexing, praying to
> multiple gods, but with no success.
>
> I will appreciate any help.
>
> Jan
>
>
>
> --
> View this message in context:
> http://forum.world.st/Slow-compilation-on-one-of-my-Windows-PCs-tp4834668.html
> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>
>

Reply via email to