[MacPorts] #56793: Installing a port with many files appears appears hang
MacPorts
noreply at macports.org
Sun May 23 13:55:58 UTC 2021
#56793: Installing a port with many files appears appears hang
-----------------------+--------------------
Reporter: yan12125 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.5.3
Resolution: | Keywords:
Port: |
-----------------------+--------------------
Comment (by mascguy):
Attached timing info, as well as a process sample of the MacPorts tclsh
process. The file registration process for `texlive-fonts-extra` took a
little over 28 minutes, and total port installation time was approximately
30 seconds.
If you review the timing file (`port-install-texlive-fonts-extra-
timings.txt`), you'll see the performance is very non-linear: It's
extremely fast at first, but growing progressively slower. By the end of
the process, only a few hundred file registrations are occurring during
every 15-second interval.
As for profiling, I started by adding `package require Tclx` at the top of
`portinstall.tcl`, but that resulted in the following error:
{{{
DEBUG: unknown user id:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_texlive-fonts-extra/texlive-fonts-
extra
}}}
Is the profiler in the TclX package, the one to go with? If so, any ideas?
--
Ticket URL: <https://trac.macports.org/ticket/56793#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list