Overview
| Artifact ID: | d0194526df8b95085337a58eb588e3a50ef6f5cd |
|---|---|
| Ticket: | 3519865fffffffffffffffffffffffffffffffff
[package require] is too slow |
| User & Date: | sebres on 2012-04-24 23:21:47 |
Changes
- icomment:
You should completelly exclude command "package require". Be sure that this will be never executed. Because some tcl scripts (from packages), could load another packages and so on. Ex.: tdom.tcl required tdom and uri packages (that call again "glob" over you net share). At first do something like this: >>> proc package {args} { if {[lindex $args 0] == "require"} { error "Prohibited: $args" } package {*}$args } <<< And so exclude each package require. It is possible that it is not only "package require". Have you or could you build any profiler to log an exec time of each command? - login: "sebres"
- mimetype: "text/plain"
- username: "sebres"