This set of measurements was captured by me on my old Compaq Armada E500 from
around the year 2000.  It has an Intel Coppermine Pentium III running at 600
MHz with 384 MB RAM and running Ubuntu 7.10.

The benchmarks were run today (2007-12-21) using ghc 6.9.20071119 (freshly
downloaded and reinstalled) in runlevel 1 (single-user mode).  I did leave
the wireless card in, which might have produced some interrupts.  Still, the
quality of the timings proved to be good, with a standard deviation of at most
1.2% of the average run-time.

This run includes the hand-tweaked assembly benchmarks (as does the Athlon64
run in the next email).

Note how much less the assembler tweaks help here (until one gets down to the
wicked MMX tweaks) compared to the situation on the Athlon64 in the next mail.
They still help, though.

-Peter

ls-search
ghc 6.9.20071119
Pentium III (Coppermine)
596.932 MHz
TESTKIND=THOROUGH
SUFFIX=


Time (byte counting)             std
--------------------         avg dev slack
hs/byte-bs----acc:         3.274  1‰ 0.1  ███                           
      |
hs/byte-bs----foldlx:      4.027  0‰ 0.0  ███▋                        
        |
hs/byte-bs----foldrx:      4.184  1‰ 0.0  ███▉                        
        |
hs/byte-bsl---acc:        28.005 10‰ 0.0  
█████████████████████████▋  
        |
hs/byte-xxxxx-acc-1:      25.852  4‰ 0.0  
███████████████████████▋        
    |
hs/byte-xxxxx-acc-2:      25.622  5‰ 0.0  
███████████████████████▌        
    |
hs/byte-xxxxx-foldl:      25.803  5‰ 0.0  
███████████████████████▋        
    |
hand/byte-bs----acc-a:     3.511  1‰ 0.0  ███▎                        
        |
hand/byte-bs----acc-b:     1.998  2‰ 0.1  █▉                              
    |
hand/byte-bs----acc-c:     1.876  2‰ 0.1  █▊                              
    |
hand/byte-bs----acc-d:     1.876  1‰ 0.1  █▊                              
    |
c/byte-getchar:           13.016  0‰ 0.0  
███████████▉                        |
c/byte-getchar-u:          1.662  1‰ 0.1  █▌                              
    |
c/byte-4k:                 0.543  2‰ 0.2  ▌                                 
  |

Memory:                     Peak
-------                      KB 
hs/byte-bs----acc:        147752 
███████████████████████████████████████▏
     |
hs/byte-bs----foldlx:     147756 
███████████████████████████████████████▏
     |
hs/byte-bs----foldrx:     147760 
███████████████████████████████████████▏
     |
hs/byte-bsl---acc:          3180 ▉                                            
|
hs/byte-xxxxx-acc-1:        1916 ▌                                            
|
hs/byte-xxxxx-acc-2:        1912 ▌                                            
|
hs/byte-xxxxx-foldl:        1912 ▌                                            
|
hand/byte-bs----acc-a:    147772 
███████████████████████████████████████▏
     |
hand/byte-bs----acc-b:    147776 
███████████████████████████████████████▏
     |
hand/byte-bs----acc-c:    147772 
███████████████████████████████████████▏
     |
hand/byte-bs----acc-d:    147776 
███████████████████████████████████████▏
     |
c/byte-getchar:              436 ▏                                            
|
c/byte-getchar-u:            432 ▏                                            
|
c/byte-4k:                   436 ▏                                            
|

Time (space counting)            std
---------------------        avg dev slack
hs/space-bs-c8-acc-1:      4.318  1‰ 0.0  ████                        
        |
hs/space-bs-c8-count:      3.118  1‰ 0.1  ██▉                           
      |
hs/space-bs-c8-foldlx-1:   4.631  1‰ 0.0  ████▎                     
          |
hs/space-bs-c8-foldlx-2:   4.632  1‰ 0.0  ████▎                     
          |
hs/space-bs-c8-foldrx:     4.678  0‰ 0.0  ████▎                     
          |
hs/space-bs-c8-lenfil:     4.634  1‰ 0.1  ████▎                     
          |
hs/space-bslc8-acc-1:     32.733  7‰ 0.0  
██████████████████████████████
      |
hs/space-bslc8-acc-2:     33.112 11‰ 0.0  
██████████████████████████████▎
     |
hs/space-bslc8-acc-3:     30.294 12‰ 0.0  
███████████████████████████▊
        |
hs/space-bslc8-chunk-1:    3.888  0‰ 0.1  ███▌                        
        |
hs/space-bslc8-chunk-2:    3.887  1‰ 0.0  ███▌                        
        |
hs/space-bslc8-chunk-3:    3.881  0‰ 0.1  ███▌                        
        |
hs/space-bslc8-chunk-4:    3.910  1‰ 0.0  ███▋                        
        |
hs/space-bslc8-count:      2.355  1‰ 0.1  ██▏                           
      |
hs/space-bslc8-foldl:      4.674  0‰ 0.0  ████▎                     
          |
hs/space-bslc8-foldlx-1:   4.676  0‰ 0.0  ████▎                     
          |
hs/space-bslc8-foldlx-2:   4.676  0‰ 0.0  ████▎                     
          |
hs/space-bslc8-foldr-1:    5.222  0‰ 0.0  ████▊                     
          |
hs/space-bslc8-foldr-2:    5.224  1‰ 0.1  ████▊                     
          |
hs/space-bslc8-lenfil-1:   4.712  1‰ 0.0  ████▎                     
          |
hs/space-bslc8-lenfil-2:   4.714  1‰ 0.0  ████▍                     
          |
hs/space-bsl---foldlx:     4.522  0‰ 0.1  ████▏                     
          |
hs/space-xxxxx-acc-1:     27.529  6‰ 0.0  
█████████████████████████▎  
        |
hs/space-xxxxx-acc-2:     27.200  3‰ 0.0  
████████████████████████▉     
      |
hs/space-xxxxx-foldl:     27.436  8‰ 0.0  
█████████████████████████▏  
        |
hs/space-xxxxx-lenfil:    39.343  3‰ 0.0  
████████████████████████████████████|
hand/space-bs-c8-acc-1-a:  4.318  1‰ 0.0  ████                        
        |
hand/space-bs-c8-acc-1-b:  4.331  1‰ 0.0  ████                        
        |
hand/space-bs-c8-acc-1-c:  4.492  1‰ 0.1  ████▏                     
          |
hand/space-bs-c8-acc-1-d:  4.354  1‰ 0.0  ████                        
        |
hand/space-bs-c8-acc-1-e:  4.424  0‰ 0.1  ████                        
        |
hand/space-bs-c8-acc-1-f:  4.164  1‰ 0.0  ███▊                        
        |
hand/space-bs-c8-acc-1-g:  4.309  1‰ 0.1  ████                        
        |
hand/space-bs-c8-acc-1-h:  4.202  1‰ 0.1  ███▉                        
        |
hand/space-bs-c8-acc-1-i:  3.820  1‰ 0.1  ███▌                        
        |
hand/space-bs-c8-acc-1-j:  3.472  1‰ 0.0  ███▏                        
        |
hand/space-bs-c8-acc-1-k:  3.474  1‰ 0.0  ███▏                        
        |
hand/space-bs-c8-acc-1-l:  3.498  1‰ 0.1  ███▎                        
        |
hand/space-bs-c8-acc-1-m:  3.397  1‰ 0.1  ███▏                        
        |
hand/space-bs-c8-acc-1-n:  3.373  1‰ 0.0  ███▏                        
        |
hand/space-bs-c8-acc-1-o:  3.118  1‰ 0.1  ██▉                           
      |
hand/space-bs-c8-acc-1-p:  2.935  2‰ 0.0  ██▋                           
      |
hand/space-bs-c8-acc-1-q:  3.477  1‰ 0.1  ███▏                        
        |
hand/space-bs-c8-acc-1-r:  1.674  1‰ 0.1  █▌                              
    |
hand/space-bs-c8-acc-1-s:  1.627  1‰ 0.2  █▌                              
    |
c/space-getchar:          13.268  0‰ 0.0  
████████████▏                       |
c/space-getchar-u:         2.170  0‰ 0.1  ██                              
    |
c/space-4k:                1.815  1‰ 0.1  █▋                              
    |
c/space-megabuf:           2.763  2‰ 0.1  ██▌                           
      |
c/space-getwchar:         15.105 29‰ 0.0  
█████████████▉                      |
c/space-getwchar-u:        8.979  1‰ 0.0  ████████▎         
                  |
c/space-32k:               1.786  9‰ 0.1  █▋                              
    |
c/space-32k-8:             1.777  1‰ 0.1  █▋                              
    |

Memory:                     Peak
-------                      KB 
hs/space-bs-c8-acc-1:     147748 
███████████████████████████████████████▏
     |
hs/space-bs-c8-count:     147760 
███████████████████████████████████████▏
     |
hs/space-bs-c8-foldlx-1:  147760 
███████████████████████████████████████▏
     |
hs/space-bs-c8-foldlx-2:  147764 
███████████████████████████████████████▏
     |
hs/space-bs-c8-foldrx:    147748 
███████████████████████████████████████▏
     |
hs/space-bs-c8-lenfil:    147764 
███████████████████████████████████████▏
     |
hs/space-bslc8-acc-1:       3196 ▉                                            
|
hs/space-bslc8-acc-2:       3200 ▉                                            
|
hs/space-bslc8-acc-3:       3204 ▉                                            
|
hs/space-bslc8-chunk-1:    65204 
█████████████████▎                          
 |
hs/space-bslc8-chunk-2:    65200 
█████████████████▎                          
 |
hs/space-bslc8-chunk-3:    75248 
████████████████████                    
     |
hs/space-bslc8-chunk-4:    76204 
████████████████████▎                 
       |
hs/space-bslc8-count:      79224 
█████████████████████                 
       |
hs/space-bslc8-foldl:      85880 
██████████████████████▊           
           |
hs/space-bslc8-foldlx-1:   85880 
██████████████████████▊           
           |
hs/space-bslc8-foldlx-2:   85880 
██████████████████████▊           
           |
hs/space-bslc8-foldr-1:   169704 
█████████████████████████████████████████████|
hs/space-bslc8-foldr-2:   169700 
█████████████████████████████████████████████|
hs/space-bslc8-lenfil-1:  109408 
█████████████████████████████
                |
hs/space-bslc8-lenfil-2:  109404 
█████████████████████████████
                |
hs/space-bsl---foldlx:     85844 
██████████████████████▊           
           |
hs/space-xxxxx-acc-1:       1912 ▌                                            
|
hs/space-xxxxx-acc-2:       1912 ▌                                            
|
hs/space-xxxxx-foldl:       1912 ▌                                            
|
hs/space-xxxxx-lenfil:      1904 ▌                                            
|
hand/space-bs-c8-acc-1-a: 147760 
███████████████████████████████████████▏
     |
hand/space-bs-c8-acc-1-b: 147764 
███████████████████████████████████████▏
     |
hand/space-bs-c8-acc-1-c: 147764 
███████████████████████████████████████▏
     |
hand/space-bs-c8-acc-1-d: 147764 
███████████████████████████████████████▏
     |
hand/space-bs-c8-acc-1-e: 147764 
███████████████████████████████████████▏
     |
hand/space-bs-c8-acc-1-f: 147760 
███████████████████████████████████████▏
     |
hand/space-bs-c8-acc-1-g: 147760 
███████████████████████████████████████▏
     |
hand/space-bs-c8-acc-1-h: 147764 
███████████████████████████████████████▏
     |
hand/space-bs-c8-acc-1-i: 147764 
███████████████████████████████████████▏
     |
hand/space-bs-c8-acc-1-j: 147764 
███████████████████████████████████████▏
     |
hand/space-bs-c8-acc-1-k: 147764 
███████████████████████████████████████▏
     |
hand/space-bs-c8-acc-1-l: 147760 
███████████████████████████████████████▏
     |
hand/space-bs-c8-acc-1-m: 147760 
███████████████████████████████████████▏
     |
hand/space-bs-c8-acc-1-n: 147764 
███████████████████████████████████████▏
     |
hand/space-bs-c8-acc-1-o: 147760 
███████████████████████████████████████▏
     |
hand/space-bs-c8-acc-1-p: 147760 
███████████████████████████████████████▏
     |
hand/space-bs-c8-acc-1-q: 147760 
███████████████████████████████████████▏
     |
hand/space-bs-c8-acc-1-r: 147760 
███████████████████████████████████████▏
     |
hand/space-bs-c8-acc-1-s: 147760 
███████████████████████████████████████▏
     |
c/space-getchar:             436 ▏                                            
|
c/space-getchar-u:           436 ▏                                            
|
c/space-4k:                  472 ▏                                            
|
c/space-megabuf:          146968 
███████████████████████████████████████
      |
c/space-getwchar:            484 ▏                                            
|
c/space-getwchar-u:          484 ▏                                            
|
c/space-32k:                 500 ▏                                            
|
c/space-32k-8:               496 ▏                                            
|

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to