Changes between Initial Version and Version 1 of Ticket #1621


Ignore:
Timestamp:
Nov 5, 2007 5:03:59 PM (6 years ago)
Author:
igloo
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1621 – Description

    initial v1  
    11Hello, 
    22 
    3   using latest GHC 6.6.1 binary package for windows, I've received strange information about execution time for the module below. 
     3using latest GHC 6.6.1 binary package for windows, I've received strange information about execution time for the module below. 
    44 
    55My machine: OS WinXP Pro SP2, Intel Core 2, 2GB RAM. 
    66 
    77How to reproduce error: 
    8  
     8{{{ 
    99:set +s 
    1010:set -02 
    1111:cd <path to the file in the attachment> 
    1212:l Primes  
     13}}} 
    1314 
    1415Then running 
     16{{{ 
    1517take 10000 primes1 
    1618take 10000 primes2 
     
    1921take 10000 primes2' 
    2022take 10000 primes3' 
     23}}} 
    2124 
    2225Results seem to be correct, but the execution time reported no. First column is the GHCi report, the second column is th stop-watch data (just to correlate). No other task, except core windows, was running at the moment. 
    2326 
     27{{{ 
    2428  GHCi    Stop-watch 
    2529 236.03     672.2 
     
    2933-365.07      65.2      // it's not a typo, really minus three hundred and sixty five 
    3034  63.59      63.6 
     35}}} 
    3136 
    3237Best regards, 
     
    3540 
    3641--------- 
     42{{{ 
    3743module Primes ( 
    3844          primes1 
     
    7682primes2'  = sieve' [2..] 
    7783primes3' = 2 : sieve' [3,5..] 
     84}}}