code_junkie

How can I profile serialization overhead in my application

Nov 12th, 2011
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. AfterReceiveRequest
  2. {
  3. DateTime start = datetime.now;
  4. return start;
  5. }
  6. BeforeSendReply
  7. {
  8. // start will be passed in as state in the parameter.
  9. TimeSpan period = datetime.now - start
  10. }
Add Comment
Please, Sign In to add comment