[MacPorts] #55041: mpbb-list-subports is slow
MacPorts
noreply at macports.org
Mon Oct 9 01:37:29 UTC 2017
#55041: mpbb-list-subports is slow
-----------------------------+---------------------
Reporter: ryandesign | Owner: admin@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: server/hosting | Version:
Resolution: | Keywords: mpbb
Port: |
-----------------------------+---------------------
Comment (by ryandesign):
The curl check is probably already as fast as it can get, since it's just
checking the response code from an http request to a server on the same
gigabit network.
What about the rest? Each tcl script we run, and we run several for each
subport, has to start tclsh and initialize the ports system. Is there a
way we can initialize the ports system just once per subport and get all
the information we need?
We have `$(sysctl -n hw.activecpu)` CPU cores. Is there a way we can check
that many ports at the same time?
--
Ticket URL: <https://trac.macports.org/ticket/55041#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list