Code

Added tool to measure function perfomance