TCC Statup times

May 20, 2008
3,515
4
Elkridge, MD, USA
I am interested in how TCC starting performance is affected by the absence
or presence of plug-ins and their location (i.e., the absence or existence
of a PLUGINS subdirectory). Assume for this inquiry that any already loaded
DLL is in physical, internal memory, and not paged out (else all kinds of
issues not related to TCC come into play).

Case 1
------
TCC is started from the desktop or the quick launch bar. Plug-ins are
autoloaded from the PLUGINS subdirectory. Is this faster if another
concurrent TCC session has already loaded the plug-ins?

Case 2
------
TCC is started as a pipe from another TCC instance, which has already loaded
the plug-ins. The new instance does not utilize any plug-ins. Does the pipe
start faster if there is no PLUGINS subdirectory than if there is?

If in either of the above cases there is a difference,
--
Steve
 
May 20, 2008
11,530
102
Syracuse, NY, USA
On Wed, 24 Mar 2010 11:33:30 -0400, Steve Fábián <> wrote:

|I am interested in how TCC starting performance is affected by the absence
|or presence of plug-ins and their location (i.e., the absence or existence
|of a PLUGINS subdirectory). Assume for this inquiry that any already loaded
|DLL is in physical, internal memory, and not paged out (else all kinds of
|issues not related to TCC come into play).

I watch TCC's startup time pretty closely and I learned a long time ago that
plugins don't have much effect (so I don't pay attention to them any more).
Here's a (reproducible) comparison between loading eight plugins (all mine) and
loading none.

v:\> timer & for /l %i in (1,1,10) "%comspec" /c & timer
Timer 1 on: 11:47:20
Timer 1 off: 11:47:21 Elapsed: 0:00:00.63

v:\> timer & for /l %i in (1,1,10) "%comspec" /c /ip & timer
Timer 1 on: 11:47:23
Timer 1 off: 11:47:23 Elapsed: 0:00:00.63

I suppose a plugin **could** have an impact on startup time if it did something
time-consuming in DllMain() or InitializePlugin(). But I, and others, I
suppose, are careful to avoid that.
--
- Vince
 
May 20, 2008
11,530
102
Syracuse, NY, USA
On Wed, 24 Mar 2010 11:33:30 -0400, Steve Fábián <> wrote:

|I am interested in how TCC starting performance is affected by the absence
|or presence of plug-ins and their location (i.e., the absence or existence
|of a PLUGINS subdirectory). Assume for this inquiry that any already loaded
|DLL is in physical, internal memory, and not paged out (else all kinds of
|issues not related to TCC come into play).

Maybe this comes closer to answering your questions ... a test like the one I
just posted, but using CMD (so plugin dlls are not in memory). Results are in
milliseconds (and reproducible). A difference is observed.

marktime /q & echo off & (for /l %i in (1,1,10) do d:\tc11\tcc.exe /c) &
marktime

461.6429

marktime /q & echo off & (for /l %i in (1,1,10) do d:\tc11\tcc.exe /c /ip) &
marktime

412.2755
--
- Vince
 
Jun 7, 2008
121
0
I watch TCC's startup time pretty closely and I learned a long time ago that
plugins don't have much effect (so I don't pay attention to them any more).
Here's a (reproducible) comparison between loading eight plugins (all mine) and
loading none.
- Vince

I think it will very difficult to detect Vince.
People forget that speed of execution is primarily

(i) any file IO that needs to occur
(ii) memory allocation/deallocation
(iii) superior algorithms (execution of code counts here)

Those DLL calls will be dwarfed by the cost of finding and loading the plugin (the file IO). After that, if it is in some cache (that is if Windows has to reload), you are not going to notice. Steve's original request boils down to whether the plugin DLLs are shared or side-by-side DLLs.

Stephen Howe
 
May 20, 2008
3,515
4
Elkridge, MD, USA
| ---Quote (Originally by vefatica)---
|| I watch TCC's startup time pretty closely and I learned a long time
|| ago that plugins don't have much effect (so I don't pay attention to
|| them any more). Here's a (reproducible) comparison between loading eight
|| plugins (all mine) and loading none.
|| ---End Quote---
|
| I think it will very difficult to detect Vince.
| People forget that speed of execution is primarily
|
| (i) any file IO that needs to occur
| (ii) memory allocation/deallocation
| (iii) superior algorithms (execution of code counts here)
|
| Those DLL calls will be dwarfed by the cost of finding and loading
| the plugin (the file IO). After that, if it is in some cache (that
| is if Windows has to reload), you are not going to notice. Steve's
| original request boils down to whether the plugin DLLs are shared or
| side-by-side DLLs.

Thanks your replies. I judge from them that if another instance of TCC has
already loaded the plugins, the pipe or new instance start-up will not be
significantly impacted by having my plugins in subdirectory PLUGINS and not
specifying /IP (ignore plugins) in starting a new TCC instance. BTW, a 10%
increase in my environment is not significant anyway.

Rex, the quickhelp for TCC v11 lists the /I... option in the command line
section, but does not list it below, in the option switch explanation
section.
--
Steve
 
Similar threads
Thread starter Title Forum Replies Date
A Can you set an image file 'tag' with TCC/4NT? Support 0
P PSHELL not working in TCC 26 Support 9
vefatica SCRIPT makes TCC disappear. Support 16
MickeyF TCC suddenly crashing (not TCC's fault) Support 2
Z CMDDebug - TCC unknown command Support 2
rconn News Take Command / TCC / CMDebug / TCC-RT 28.02.17 Support 0
vefatica TCC startup: /IP not honored after /K Support 1
MickeyF TCC crashing when copying multiple files (now resolved) Support 6
C COMSPEC constantly reset to TCC.EXE Support 6
rconn News Take Command / TCC / CMDebug / TCC-RT v28 Released Support 0
C How to? starting TCC/TCMD v25 Support 2
CWBillow TCC and TCMD in Powershell Support 6
rconn News Take Command / TCC / CMDebug / TCC-RT 27.01.24 uploaded Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT 27.01.23 uploaded Support 0
Alpengreis Fixed Crash after copy dialog with big TCC.exception.log Support 5
rconn News Take Command / TCC / CMDebug / TCC-RT v27.01 Build 22 Uploaded Support 0
L FTYPE in TCC, less quirky than in cmd.exe Support 3
V Set path permanently from within TCC? Support 3
DrusTheAxe Runaway TCC.exception.log filling drive Support 5
rconn News Take Command / TCC / CMDebug / TCC-RT 27.0.21 uploaded Support 0
Joe Caverly tcc.exception.log Support 3
rconn News Take Command / TCC / CMDebug / TCC-RT 27.0.20 uploaded Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT 27.0.19 Support 0
FreezerBurnt Help making a CMD and TCC compatible batch file Support 7
vefatica SCRIPT ... TCC disappears Support 2
rconn News Take Command / TCC / CMDebug / TCC-RT v27.0.18 Support 0
Jesse Heines Access Denied errors in TCC 27 Support 9
fpefpe How to? tcc inifile (%_ininame) Support 3
M How to? Black TCC Prompt Support 2
D Differences between TCC and CMD with COPY /b Support 4
M Oracle batch OPatch.bat.bat not working in TCC but correctly in CMD Support 5
Jay Sage Extra TCC Tasks Support 6
vefatica Can I turn off the minimize to tray mechanism in TCC? Support 5
N Command execution slows down in TCC Prompt after a while Support 6
R Upgrade TCMD 19 to TCC 26 Support 1
Joe Caverly Set a batch variable (%1 - %n) when TCC is executing a batch file Support 5
samintz How to? Is this doable in TCC? Support 2
rconn News Take Command / TCC / CMDebug / TCC-RT 26.02.41 Uploaded Support 0
D TCC tab detaching & restarting Support 3
Ó Recent git output not shown on TCC Support 1
P Kill all other instances of tcc from a btm batch file Support 2
L Using TCC.exe through an SSH connection Support 3
M TCC color issue in ConEmu Support 4
Alpengreis UTF-8 problem in TCC related to Python Support 7
Alpengreis Python support for 3.8.3 in TCC v26.x? Support 2
rconn News Take Command / TCC / CMDebug / TCC-RT 26.01.40 uploaded Support 0
Peter Murschall TCC V26.01.3x Debugging has problems with Alias /R Support 1
rconn News Take Command / TCC / CMDebug / TCC-RT 26.0.37 Uploaded Support 0
vefatica TCC waits for Office apps Support 4
Joe Caverly .BAT works in TCC-RT 25, but not in TCC-RT 26 Support 4

Similar threads