2.1 ai2: nobody knows what the time units are in unit tests?

Hi all

I ran a few tests in SQL Developer ai2 and I'm curious to know the units of time that I see in some contexts; If anyone can enlighten me, I would be very grateful...

(1) I have my unit test set to 'collect Code coverage statistics.
(2) when I run a test, the results tab shows the columns 'Status' and 'Time' - 'Period' means here? For example, my test '1 826' watch - is this milli-seconds of processing time? Any other clues?
(3) I then look at the 'Test Runs Code Coverage' report and click on the appropriate entry in the upper part of the screen, which shows me the «Code coverage Details» view
(4) I can make sense columns 'Line', 'Text' and 'Total_Occurrences', but what makes the value of the average of column "Total_Time" here? For example, for simple SUBSTR assignment operations, I see a "Total_Time" of "1201", is this microseconds, nano-seconds?

Many thanks in advance,

Chris Hughes

Hi Chris -.

(2) the term is in milliseconds (1/1000 second) (this is the time from the customer point of view for each operation)
(4) Total_Time is in nanoseconds (1/1000000000 sec) (or at least what the documentation for plsql_profiler_data.total_time (where get us all this) ;)) said

Brian Jeffries
SQL development team

Tags: Database

Similar Questions

Maybe you are looking for