Loading Speed Of Your Web Page

Loading Speed Of Your Web Page

In this tutorial, we are going to learn on How To Know Loading Speed Of Your Web Page. This short source code can help you to know the loading speed of your search engine on your site. You can share this also to your friend to know their loading speed of their search engine. The two PHP source code kindly paste to the beginning and end of the page.

Source Code

  1. <div style="margin: auto; width: 355px; text-align: center; margin-top:100px;">
  2.         <a target="_blank" href="http://www.sourcecodester.com/" style="text-decoration: none">
  3.                 <span style="font-size:larger;">Free Source Code In Sourcecodester.com</span>
  4.         </a>
  5. </div>
  6.  
  7. <?php
  8. $time_load_2 = microtime(true);
  9. $time_load=round($time_load_2 - $time_load_1,5);
  10. echo "<p align='center'><span style='color:blue; font-size:18px; font-weight:bold; font-family:cursive;'>
  11. The page is loaded in <b style='color:red; font-size:18px; font-weight:bold; font-family:cursive;'>$time_load</b> seconds.
  12. </span></p>";
  13. ?>
This is the loading speed of my search engine. Result Loading Speed Try this to know the speed of your search engine. So what can you say about this work? Share your thoughts in the comment section below or email me at rolyn02@gmail.com. Practice Coding. Thank you very much.
Tags

Add new comment