Tutoriale PHP
  Comunitatea PHP Romania
 

 
Tutoriale PHP
Index » Noutati

DevShed: Comparing Files and Databases with PHP Benchmarking Applications


Postat:Joi 08 Mai 2008 12:58
Accesari:5
Comentarii:0
Favorite:0
Sursa: http://www.phpdeveloper.org

Del.icio.us
Digg
Technorati
Categorii: Noutati | alfahost_ro

DevShed is wrapping up their series looking at benchmarking your PHP applications with the third part - a look at comparing execution times of scripts that can either pull from a database or from a flat file.

This large, complex subject offers numerous possibilities for experimentation, which means that you'll surely have tons of fun creating timing systems with PHP. [...] his article, then, will be focused on evaluating different scripts that fetch sets of records, first from a database, and then from flat files.

They use the Timer class they defined in a previous part of the series and wrap it around both a database class (pulling user information from a MySQL database) and a fetch to a flat file for similar information. General exceptions are handled as a part of the resource connection class.

Comentarii


    Ultimele discutii in forum RSS Forum

    Ultimele articole Ultimele articole

    Top membri

    Pirahna Pirahna
    la birou
    carco carco
    Bucuresti
    Birkoff Birkoff
    Bucuresti
    Mascka Mascka
    Braila
    raul_ raul_
    whooper whooper
    Toronto ON
    mihaitha mihaitha
    Sibiu
    gabysolomon gabysolomon
    Bacau
    oriceon oriceon
    Constanta
    garlicinicolae garlicinicolae

    Newsletter


    Email:
     inscriere
     renuntare
     
     Arhiva newsletter

    Site-ul lunii

    blg
     Blgpunctro

    Propune un site

    Online

    192 utilizatori online

    Parteneriat



    Copyright © 2001-2008 PHP Romania Add PHPRomania to Google Add PHPRomania to Del.icio.us Add PHPRomania to Stumbleupon Add PHPRomania to Yahoo! Add PHPRomania to Digg Add PHPRomania to Blink Car Insurance | Pay Day Loans | Facebook Proxy | Ringtone | Psychic Readings
    Ads: Partener Way2Web Nework: gazduire web | inregistrare domenii | web design | imobiliare | web hosting
    Powered by Simplis