Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Execution time includes JITting/DLL loading time
wasaczd
#1 Posted : Wednesday, March 7, 2012 2:27:27 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 3/7/2012(UTC)
Posts: 2
Location: Poland

A very nice feature of NCrunch is displaying of execution time for each line of code and highlighting lines with long time.

However, as far as I noticed, this time includes time spent in JITter or time spend for loading external assemblies/not managed dlls. When I run any test after all test have passed, the execution time changes and many of the highlighted lines become not highlighted.
Remco
#2 Posted : Wednesday, March 7, 2012 9:35:53 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
This is very true. The recording of line-level execution times is very physical and can vary depending upon low level activities that are occurring in the system (such as the JIT, thread context switches, etc). I'm not sure if this is something I can easily fix, but it's certainly something I'm thinking about :)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.020 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download