I want to write a function to measure the performance of parts of code (other methods) that could return a value. This is what I came out at the moment:
const