[MacPorts] #63068: base: performance: operations slower in 2.7.x vs. 2.6.4: reclaim, clean
MacPorts
noreply at macports.org
Mon Jun 14 15:02:38 UTC 2021
#63068: base: performance: operations slower in 2.7.x vs. 2.6.4: reclaim, clean
----------------------+----------------------
Reporter: mascguy | Owner: mascguy
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: base | Version: 2.7.1
Resolution: | Keywords:
Port: |
----------------------+----------------------
Comment (by mascguy):
Re-profiled both operations, to obtain proc-based timings.
Switched to the following TCL wrapper, to avoid having to modify MacPorts
itself:
{{{
#!/opt/local/libexec/macports/bin/tclsh8.5
package require profiler
proc ::exit {} {
puts stderr "Exit call intercepted"
}
puts stderr "Profiler - Init"
::profiler::init
if {[catch { [source /opt/local/bin/port] } result_or_errormsg]} {
#handle error
} else {
#normal processing
}
puts stderr "Profiler - Done"
puts stderr [::profiler::sortFunctions exclusiveRuntime]
}}}
--
Ticket URL: <https://trac.macports.org/ticket/63068#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list