Creating Libraries from sketches?

My calculations would make it about 2.5 seconds, as the loop should run for 25 cycles... (the loop is stepping in 10s...)

I'll try running it later, and timing it to see if there is a point at which it moves to the next function...

Many thanks