Understanding milliseconds in a script from a friend.

That is an atrocious coding style which obfuscates the control structure of the code. No wonder you're having trouble figuring out how often each piece of code is called. Tom Carpenter's version is a vast improvement. I recommend you follow Tom's style in future but with one small change - don't put the opening brace on the same line as the function signature. Use this:

void loop ()
{
  for(int fadeValue = 0 ; fadeValue <= 255; fadeValue +=1)
  {
    ...

instead of this:

void loop (){
  for(int fadeValue = 0 ; fadeValue <= 255; fadeValue +=1)
  {
    ...