Help

    1. What is stopeo code?

      It's a small snippet that measures time from start to the end of site generation. It consists of two parts: one in beggining of first loaded file (usually something like header.php or start.php), and one at the end of last file (footer.php, end.php, etc.). Of course filenames can be different. This is the code:
      <?php
      // stopeo start - insert at beggining of first loaded file
      $stopeo_start microtime(true);
      ?>
      <?php
      // stopeo end - insert at the end of last file
      echo "<!-- stopeo: ".round(microtime(true) - $stopeo_start4)."s -->";
      ?>
    2. How to install stopeo code on WordPress?

      If you're using WordPress, just add this at the end of footer.php file of your template:
      <?php
      // stopeo wp - insert at the end of footer.php
      echo "<!-- stopeo: ".round(timer_stop(), 4)."s -->";
      ?>
    3. Is there code in Python?

      Yes. (Thanks to Maciej Płoński):
      import time
      # stopeo start - insert at beggining of first loaded file
      stopeo = time.clock()
      # stopeo end - insert at the end of last file
      yourpagecontent += "<!-- stopeo: " + str(time.clock() - stopeo) + "s -->"
    4. Is there code in Perl?

      Yes. (Thanks to wsl):
      # Place the following at the beginning of your application...
      use Time::HiRes;
      my $beginTime = Time::HiRes::time();
      # ... and the following at the end.
      printf '<!-- stopeo: %ss -->', Time::HiRes::time() - $beginTime;
    5. Is there code in ASP.NET?

      Yes. Evgenios Skitsanos wrote how to use stopeo in ASP.NET.
    6. My site was added few hours ago and all results are the same. What's wrong?

      Are You using WP-SuperCache or other output caching system? If yes, than that is your problem. Stopeo doesn't receive real generation time, but only time in which cache was build. Evry check gets same value from cache. At this point, stopeo is useless for You.
    7. I added code to my homepage, it's in source, but stopeo tells me, that I didn't install code. Why?

      Does your homepage produce any load to server? If it's just simple splash, it generates very quickly. stopeo is rounding time to 4 decimal places, so 0.00001s equals 0s. Just use stopeo for more complicated sites.
    8. This code isn't working! You stink!

      There are many things that could go wrong. Contact us, and we'll help: contact@stopeo.com :)
    9. How to install stopeo code on my site written in Ruby/Java/<here insert your programming language>?

      Well all languages have some kind of time functions, but we don't know all of them ;) If you know how to do it, let us know: faq@stopeo.com
    10. Why I must add stopeo code? Can't you just measure loading time remotely?

      Checking how long it took loading of a page isn't that precise. There are many variables (like DNS response, ISP) that can cause false data. We want to check real server performance.
    11. Why use stopeo? There are many other sites like El Monito, pingdom, etc.

      If machine does respond to ping, it doesn't mean that web server is up and running. Sometimes ping takes 100ms, but page is generating 20 times slower than usual. Tools like El Monito can't check if your web server/database server overloaded. Here comes stopeo :)
    12. stopeo is awsome! Is there any button that i can put on my site?

      Sure:
      stopeo
      <a href="http://stopeo.com">
       <img src="http://stopeo.com/i/button.gif" alt="stopeo" />
      </a>
    13. Why my question isn't here?

      Maybe, because You didn't let us know ;) Just send it here: faq@stopeo.com