Find the answer to your Linux question:
Results 1 to 4 of 4
Hi, We have develop one of system using PHP. So now we want to do testing on this system. The testing include: 1. Load time 2. Login page 3. Listing ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2012
    Posts
    24

    Php Benchmark


    Hi,

    We have develop one of system using PHP. So now we want to do testing on this system. The testing include:

    1. Load time
    2. Login page
    3. Listing page
    4. Normal search
    5. Advance search
    6. Attachment file below 1MB
    7. Attachment file above 1MB
    8. Statistic
    9. Overall statistic

    I prefer using open source. The machine using RHEL and version of PHP is 4. Please suggest to me.

    Thanks.

  2. #2
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    Hello,

    The Apache Benchmarking command-line tool ab can do some of that for you.

  3. #3
    Just Joined!
    Join Date
    Nov 2012
    Posts
    24
    Can be result display in php webpage?

  4. #4
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    Quote Originally Posted by zabidin5417 View Post
    Can be result display in php webpage?
    It's just a system/exec call as far as PHP is concerned, so I don't see why not. Here's an example of how you'd call the date command and print it out:

    PHP Code:
    <?php
    $cmd 
    "date";
    exec($cmd$results);
    printf("Output: {$results[0]}\n");
    ?>

Posting Permissions

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