Untitled

mail@pastecode.io avatar
unknown
plain_text
12 days ago
459 B
2
Indexable
Never
<!DOCTYPE html>
<html lang="en-US">
 
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Performance Measurements</title>
    <script>
        let startTime = performance.now();
        for (let i = 0; i < 1e8; i++) { Math.sqrt(i); }
        let endTime = performance.now();
        document.write("Performance time :", (endTime - startTime));
    </script>
</head>
 
<body>
</body>
 
</html>
Leave a Comment