SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Wizard johnn's Avatar
    Join Date
    Mar 2001
    Location
    Southern California, USA
    Posts
    1,181
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How do you do benchmark testing on a script or a statement?

  2. #2
    SitePoint Wizard
    Join Date
    Jul 1999
    Location
    Chicago
    Posts
    2,629
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    On a script, you can use Microsoft's excellent Web Application Stress Tester tool, available for free at http://webtool.rte.microsoft.com/ , or Apache's also excellent and free 'ab' (Apache Bench) located in /usr/local/apache/bin/ab . They take a URL and hit it X number of times and give you info on how long it took, etc.

    Benchmarking a statement is a bit more tricky. I don't know of anything that can do that.

  3. #3
    <? echo "Kick me"; ?> petesmc's Avatar
    Join Date
    Nov 2000
    Location
    Hong Kong
    Posts
    1,508
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    Read my thread in my forum:

    http://forum.codingclick.com/showthr...p?threadid=190

    I just finished writing it, the top part tells you how to test it.

    -Peter

  4. #4
    SitePoint Wizard johnn's Avatar
    Join Date
    Mar 2001
    Location
    Southern California, USA
    Posts
    1,181
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Great! Thank you both. I appreciate it.
    Last edited by johnn; May 12, 2001 at 10:11.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •