Re: [Firebird-net-provider] Make FbNetProvider classes unseal

2015-01-17 Thread Геннадий Забула
have you tried real profiler tools? i.e. studio performance analyzer or its analogues? On Fri, Jan 16, 2015 at 6:24 PM, Lukáš Vykydal l.vyky...@gmail.com wrote: Well thank you for sugestions. After some thinking we'll use soultion with wrapper classes. Thank for your time Lukáš Vykydal

[Firebird-net-provider] Make FbNetProvider classes unseal

2015-01-16 Thread Lukáš Vykydal
Hi all, can we make frontend classes for FbNetProvider (primarly FbConnecton, FbTransaction, FbCommand) not sealed ?? This will be handy for performance monitoring of applications (especially Execute* functions in FBCommand). What do you think ? I you'll like this this changes, i can

Re: [Firebird-net-provider] Make FbNetProvider classes unseal

2015-01-16 Thread Jiří Činčura
What are you trying to do that is not possible without it? -- Mgr. Jiří Činčura Independent IT Specialist -- New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of

Re: [Firebird-net-provider] Make FbNetProvider classes unseal

2015-01-16 Thread Lukáš Vykydal
We d'like to monitor performance (time to execute) for every statement. We have a lot of code which use only base ADO.NET access to database. With this change we can find performance killers in this code more easly including parameters and plan. That is the main reason for this request.

Re: [Firebird-net-provider] Make FbNetProvider classes unseal

2015-01-16 Thread Jiří Činčura
: Lukáš Vykydal [mailto:l.vyky...@gmail.com] Sent: Friday, January 16, 2015 11:03 AM To: firebird-net-provider@lists.sourceforge.net Subject: Re: [Firebird-net-provider] Make FbNetProvider classes unseal We d'like to monitor performance (time to execute) for every statement. We have a lot

Re: [Firebird-net-provider] Make FbNetProvider classes unseal

2015-01-16 Thread Mercea Paul
On 2015.01.16 12:02 PM, Lukáš Vykydal wrote: We d'like to monitor performance (time to execute) for every statement. We have a lot of code which use only base ADO.NET access to database. With this change we can find performance killers in this code more easly including parameters and plan.

Re: [Firebird-net-provider] Make FbNetProvider classes unseal

2015-01-16 Thread Lukáš Vykydal
Well thank you for sugestions. After some thinking we'll use soultion with wrapper classes. Thank for your time Lukáš Vykydal Dne 1/16/2015 v 11:24 AM Jiří Činčura napsal(a): Well, you can do simple: StartTiming(); Execute(); LogElapsed(); Of if you want to do more fancy solution you