[MacPorts] #71307: `portindex` is very slow on PPC macOS 10.4

MacPorts noreply at macports.org
Thu Nov 14 03:42:45 UTC 2024


#71307: `portindex` is very slow on PPC macOS 10.4
---------------------+--------------------
 Reporter:  glebm    |      Owner:  (none)
     Type:  request  |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.10.4
 Keywords:           |       Port:
---------------------+--------------------
 I'm installing MacPorts on a PPC macOS 10.4 in qemu and `portindex` has
 been running this command for 3 hours already:

 `/opt/local/libexec/macports/bin/tclsh8.6 /opt/local/bin/portindex
 /opt/local/var/macports/sources/rsync.macport`

 I'm new to MacPorts and tcl, so I don't understand what the `portindex`
 script does. I did, however, notice that it sets up a worker pool.

 If it's CPU-bound, perhaps it'd be faster to avoid threading and mutexes
 on single-core machines, such as the G4 that I'm emulating?
 I don't actually know whether that's the bottleneck, just throwing the
 idea out there.

-- 
Ticket URL: <https://trac.macports.org/ticket/71307>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list