why the application is so slow

After tracing I finally found why the application is so slow. It really used too much time to open a database connection for logging, actually is existed.

This function is wrapped in an dll. Although connection.open failed, it doesn't throw the exception, that remind me, do NOT write such code, which make other develper confused.

Tools is dotTrace3.1, very powerful.

posted @ 2008-12-25 15:09  helloworld22  阅读(181)  评论(0编辑  收藏  举报