Slow debug process starting and stopping

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
odac9pro
Posts: 14
Joined: Wed 16 Apr 2014 11:01

Slow debug process starting and stopping

Post by odac9pro » Wed 08 Apr 2015 07:40

Hi,

We try to use odac9pro to port an application from D5 to DXE7. Our problem is very slow to start and stop debugging. We have separeted the problem.
The reason is a large datamodule - TOraQuerys: 200 pieces and many created dataset fields (1200), TOraDataSources: 100 pieces.

With D5, the starting time of debug process takes about 3-4 seconds.
With DXE7: 17 seconds

The test project consits only one main form and one datamodule. The datamodule has not any connection with form. There are not connection objects to connect database.
There are no codes in the pas file of datamodule only the declarations.

I tried what happens if change ODAC components to DXE7's standard FireDAC components and its fields to standard fields. There is big difference: in case of FireDAC the starting of debugging time takes 7 seconds.

My hardware is quite good: SSD HD, Intel core i5-3470S 2.9GHz, 8GB RAM, Windows 8.1. The debugger event log, use debug .dcus options are turned off.

During starting the debugging process one core of CPU runs under about 100% loading (other cores 20-30%). When I stop the debugging it takes 6 seconds to stop the debugging with about 100% loading too.

Please help to decrease debuggig time.

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: Slow debug process starting and stopping

Post by AlexP » Wed 08 Apr 2015 08:22

Hello,

To speed up the compilation process, you can divide your data module to several. In this case, only one module, which was modified, will be compiled.

P.S. Please clarify your ODAC Edition: Professional or Professional Edition with Source Code?

Post Reply