am trying to achieve a very basic profiler by measuring difference in miliseconds in several different code execution points.
start_time = Date.now() <...> end_time = Date.now() diff_time = end_time - start_time
The values these variables get assigned are as follows:
Start time: 1569593739079 End time: 1569593739079 Diff time: 0 .
I would expect at least the minimall difference - what am I missing here?