Lets say I have 2 different code snippets that do the same thing, and I want to measure which one of those took more time to execute. Example:
function log(text) {
console.log(text);
}
log("Hello World");
and
console.log("Hello World");
is there a measurable difference between those 2?