[Gambas-user] strange thing! or not?

Stefano Palmeri stefanopalmeri at ...152...
Sat Aug 26 23:46:18 CEST 2006


Hi, all. Hi, Benoit.

Working on a project that has some "SHELL ... TO", I noticed
that after compiling it slows down. 

I did some tests and found this strange thing: the same 
code runs 4-5 times faster if it is in a console project
than in a QT project, after compiling of course.
My stupid question is: is it normal?

I tested on a 900MHz machine, so on a faster computer
you may need to increase the loops in the code to notice the difference.

I've attached the two test examples that give me so different timing
result after compiling. 
Please, compile them and run both from a console.

Gambas2 version is 1.9.39.

Regards,

Stefano Palmeri 
  

-------------- next part --------------
A non-text attachment was scrubbed...
Name: shell-speed-test-console-0.0.3.tar.gz
Type: application/x-tgz
Size: 2614 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20060826/341ffc31/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shell-speed-test-QT-0.0.3.tar.gz
Type: application/x-tgz
Size: 2997 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20060826/341ffc31/attachment-0001.bin>


More information about the User mailing list