Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Faster without GUI ?

Status
Not open for further replies.

jme501

Programmer
Jan 4, 2002
4
0
0
DE
Hi there,

starting an application under NT to process serveral SQL-statement on ORACLE-DB with GUI (just empty Form) it runs about 2 min, witout GUI (Application.ShowMainForm = FALSE) 9 secs.

I'm very happy about the speed up, but what I would like to know : Why ?

Does anybody has an Idea?

Thank and bye,

Jens
 
Jens,

Just a thought...do you have any datasource objects on the empty form? I think Delphi would believe it has to do the work of creating links to update visual elements (even though there are none) in that case.

Also, have you used Tqueries or just Tdatabases? There is less overhead with Tdatabases.

If there is never any user interaction required, consider writing this as a console app.

Carl
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top