Is this true everytime you call the routine, or only the first. There will
be some JIT overhead on the first call. This is why websites now have the
ability to run through all of the pages and pre-JIT compile them.
Other than that, I would have to look at the SQL docs.

Signature
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA
*************************************************
| Think outside the box!
*************************************************
> there seems to be some overhead between SQL Server 2005 and a CLR function
> written in C#. Why is this?
[quoted text clipped - 26 lines]
> If i call my GetTimestampF() on c# it executes fast enough for the
> nanosecond results to be accurate