Without more code, diagnosis of this issue is impossible.
Can you provide a complete solution that reproduces this issue?
On Wed, Sep 10, 2008 at 6:14 AM, Milivoj Milani <[EMAIL PROTECTED]> wrote:
> Hi,
>
> we are using iBatis.NET DataMapper and DataAccessManager and according to
> ANTS profiler initial loading (reading) of configuration files takes 12+
> seconds. I don't know what is the reason for that, and is there a way to
> speed things up?
>
> Code excerpt below.
>
> Thanks in advance.
>
>
> private static DataSourceAgent _instance;
>
> private static DomDaoManagerBuilder _builder;
>
> private static IDaoManager _manager;
>
> private DataSourceAgent()
>
> {
>
> _builder = new DomDaoManagerBuilder();
>
> _builder.Configure(); // 12 seconds loading time, see attached screenshot
>
> _manager = DaoManager.GetInstance();
>
> }
>
>
>
>