===========================
TESTS on Macbook Core 2 Duo 2 GHz 2GB, OS X 10.6.2, Python 2.6.1
Files on local disk, first run after computer restart to avoid memory caching of files
===========================
Sampling from 423 files . Each test gets 100 distinct files
---------------
test_full_read()
---------------
Mon Dec 28 12:00:09 2009    /tmp/pydicom_stats

         2189883 function calls (2189499 primitive calls) in 6.342 CPU seconds

   Ordered by: internal time
   List reduced from 113 to 5 due to restriction <5>

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
    97963    2.251    0.000    2.251    0.000 {method 'read' of 'file' objects}
    97197    0.501    0.000    0.748    0.000 tag.py:15(__new__)
19487/19103    0.388    0.000    3.538    0.000 filereader.py:118(read_data_element)
    98491    0.237    0.000    0.399    0.000 tag.py:37(__cmp__)
    19955    0.234    0.000    0.965    0.000 dataset.py:436(__setitem__)


---------------
test_partial()
---------------
Mon Dec 28 12:00:15 2009    /tmp/pydicom_stats

         2322877 function calls (2322481 primitive calls) in 5.708 CPU seconds

   Ordered by: internal time
   List reduced from 88 to 5 due to restriction <5>

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
    97412    1.426    0.000    1.426    0.000 {method 'read' of 'file' objects}
   114935    0.595    0.000    0.865    0.000 tag.py:15(__new__)
19376/18980    0.397    0.000    3.243    0.000 filereader.py:118(read_data_element)
   116343    0.289    0.000    0.593    0.000 tag.py:37(__cmp__)
   403575    0.230    0.000    0.230    0.000 {isinstance}


---------------
test_mem_read_full()
---------------
Mon Dec 28 12:00:22 2009    /tmp/pydicom_stats

         2412936 function calls (2412576 primitive calls) in 7.053 CPU seconds

   Ordered by: internal time
   List reduced from 95 to 5 due to restriction <5>

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
      100    2.545    0.025    2.545    0.025 {method 'read' of 'file' objects}
    96654    0.496    0.000    0.737    0.000 tag.py:15(__new__)
19376/19016    0.384    0.000    3.374    0.000 filereader.py:118(read_data_element)
    97400    0.325    0.000    0.413    0.000 StringIO.py:119(read)
    97958    0.228    0.000    0.387    0.000 tag.py:37(__cmp__)


---------------
test_python_read_files()
---------------
Mon Dec 28 12:00:25 2009    /tmp/pydicom_stats

         203 function calls in 3.006 CPU seconds

   Ordered by: internal time

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
      100    2.650    0.027    2.650    0.027 {method 'read' of 'file' objects}
        1    0.326    0.326    2.994    2.994 time_test.py:72(test_python_read_files)
      100    0.018    0.000    0.018    0.000 {open}
        1    0.012    0.012    3.006    3.006 <string>:1(<module>)
        1    0.000    0.000    0.000    0.000 {method 'disable' of '_lsprof.Profiler' objects}



