PDA

View Full Version : Time to execute



Michael Clease
01-02-2010, 15:32
I have been working a simple script using the UI and creating bundles for a small project for work but I have noticed that the time to execute the program can be quite long, I already upack all of TB and then unpack the bundle but this isnt really help speed wise.

Antivirus is the main problem, it wants to analyse all the dll's in the bundle but even with that turned off it can be quite slow sometimes.

My program can take 8+ seconds to start(with AV) which means a blank screen.

Have you any suggestions?

Eros if you pm me with your email address I will send the bundle direct.

Michael Hartlef
01-02-2010, 15:48
Mmmh, so far I never experience a startup period like that. Which modules did you include? Just the UI module?

ErosOlmi
01-02-2010, 16:09
For any problem use support at thinbasic dot com and I will get the mail.
Which AV do you use? Some AV software (never deactivate themself 100%)

Petr Schreiber
01-02-2010, 16:20
Hi Michael,

I am having the similar problem here too - I have ESET NOD32. On one side I am happy the AV really cares about my security, but on the other side it is reason I do not use bundles on my PC.

Would it be an option to have ThinBASIC installed at work and use just obfuscated scripts in the meantime?


Petr

Michael Clease
02-02-2010, 00:32
Sorry for the delay but I was writing the same program but in another language and it works and the exe is a lot smaller so in this case thats the direction I will go.

@Petr its not really possible I would have to install TB on about 200 computers all around the UK and I would need customer approval.

ErosOlmi
02-02-2010, 00:50
Michael,

just for my curiosity:

what AV do you have?
if you will have some spare time, can you please compact you exe created with the other language using UPX ( http://upx.sourceforge.net/ ) and see if startup timing are slower


Nothing mandatory, just if you will have some time.

Ciao
Eros

Michael Clease
02-02-2010, 01:09
No problem Eros.

It seems that Avg and Avast dont have to large an impact but Mcafee cant cope and wants to analyse every detail (default settings).

We use Mcafee cant remember what version, I will let you know tomorrow.

I will email the files.

ErosOlmi
02-02-2010, 01:11
Thanks a lot.

Michael Clease
03-02-2010, 11:18
Just for info.

The mcafee version is 8.7i Enterprise the problem becomes even more evident when the file is executed over the network but thats probably due to the files being virus scanned twice (server+workstation).


Regards

Mike C.