import time
start_time = time.time()
end_time = time.time()
print("time:", end_time - start_time)
console.time("loop");
let b = 0;
for (i = 0; i < 100000; i++) {
b += i;
}
console.timeEnd("loop");
let startTime = new Date();
let endTime = new Date();
console.log(endTime - startTime);