check code elapsion time code example
Example 1: python time a funciton
import time
start = time.time()
print("hello")
end = time.time()
print(end - start)
Example 2: java measure execution time
Instant start = Instant.now();
Thread.sleep(63553);
Instant end = Instant.now();
System.out.println(Duration.between(start, end)); // prints PT1M3.553S