On Dec 25, 2013, at 02:50, Mojca Miklavec wrote:

> When uninstalling ruby ports (like rb19-ronn) for example, the
> cleaning step can sometimes take nearly a minute. Is this expected
> (due to some internal database rebuilds for ruby) or does it look more
> like non-optimal code somewhere?

There’s no pre-deactivate or post-deactivate block in rb19-ronn or in the ruby 
portgroup. On my system it took 5 seconds to uninstall rb19-ronn. I would guess 
it has to do with the size of your registry database (which would be related to 
how many ports you have installed and how many files they install), how 
fragmented it is, and the speed of the disk it’s on. My system has 1743 ports 
installed and registry.db is 166MiB, but I have a fast SSD. (OS X 
auto-defragments files, but only those smaller than 20MB.) But if other ports 
with the same number of files are uninstalling faster, I don’t know why ruby 
ports particularly would be uninstalling slowly for you.


_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to