Skip to content
Snippets Groups Projects
  • Rene Brun's avatar
    b9f9f6c0
    Add a new test suite and benchmark: · b9f9f6c0
    Rene Brun authored
    // this test program compares the I/O performance obtained with
    // STL vector of objects or pointers to objects versus the native
    // Root collection class TClonesArray.
    // Trees in compression and non compression mode are created for each
    // of the following cases:
    //  -vector<THit>
    //  -vector<THit*>
    //  -TClonesArray(TObjHit) in no split mode
    //  -TClonesArray(TObjHit) in split mode
    // where:
    //  THit is a class not derived from TObject
    //  TObjHit derives from TObject and THit
    //
    // The test prints a summary table comparing performances for all above cases
    / (CPU, file size, compression factors).
    // Reference numbers on a Pentium III 650 Mhz machine are given as reference.
    
    This new test is also to test the portability of STL on the upported platforms.
    
    Makefile.in modified to include the new benchmark.
    
    To run the test suite, simply execute bench.
    
    
    git-svn-id: http://root.cern.ch/svn/root/trunk@1704 27541ba8-7e3a-0410-8455-c3a389f83636
    b9f9f6c0
    History
    Add a new test suite and benchmark:
    Rene Brun authored
    // this test program compares the I/O performance obtained with
    // STL vector of objects or pointers to objects versus the native
    // Root collection class TClonesArray.
    // Trees in compression and non compression mode are created for each
    // of the following cases:
    //  -vector<THit>
    //  -vector<THit*>
    //  -TClonesArray(TObjHit) in no split mode
    //  -TClonesArray(TObjHit) in split mode
    // where:
    //  THit is a class not derived from TObject
    //  TObjHit derives from TObject and THit
    //
    // The test prints a summary table comparing performances for all above cases
    / (CPU, file size, compression factors).
    // Reference numbers on a Pentium III 650 Mhz machine are given as reference.
    
    This new test is also to test the portability of STL on the upported platforms.
    
    Makefile.in modified to include the new benchmark.
    
    To run the test suite, simply execute bench.
    
    
    git-svn-id: http://root.cern.ch/svn/root/trunk@1704 27541ba8-7e3a-0410-8455-c3a389f83636