A Type script library to create traces based on start and end time of an event and measure the latency difference