[gambit-list] 64-bit timings for beta 12

Bradley Lucier lucier at math.purdue.edu
Wed May 18 01:16:40 EDT 2005


1.  Timing for 10,000 terms of the series for e
2.  Timing for 10,000 terms of the atan 1/5 - c*atan(1/239) for pi
3.  timing for 655360 decimal digits of pi, using base 10 (brent- 
salamin)
4.  Timing for 655360 decimal digits of pi, using base 2 (brent-salamin)

64-bit timings:

(time (binary-splitting-compute-e size))
     2205 ms real time
     1781 ms cpu time (1673 user, 108 system)
     61 collections accounting for 114 ms real time (77 user, 29 system)
     617213896 bytes allocated
     no minor faults
     no major faults
(time (binary-splitting-compute-pi size))
     2433 ms real time
     2125 ms cpu time (2004 user, 121 system)
     77 collections accounting for 133 ms real time (95 user, 32 system)
     768422984 bytes allocated
     no minor faults
     no major faults
(time (pi-brent-salamin))
     178434 ms real time
     104868 ms cpu time (91853 user, 13015 system)
     907 collections accounting for 8191 ms real time (1238 user,  
3796 system)
     8573150600 bytes allocated
     no minor faults
     no major faults
(#<procedure #2 +> .028627000000010838)
(#<procedure #3 -> .05454900000000862)
(#<procedure #4 *> 20.701710000000013)
(#<procedure #5 quotient> 24.720575999999948)
(#<procedure #6 integer-sqrt> 59.353834)
(time (pi-brent-salamin))
     168068 ms real time
     82734 ms cpu time (71701 user, 11033 system)
     765 collections accounting for 9195 ms real time (1106 user,  
3246 system)
     6625855176 bytes allocated
     no minor faults
     no major faults
(#<procedure #2 +> .02847199999995098)
(#<procedure #3 -> .05393800000000226)
(#<procedure #4 *> 19.663693000000066)
(#<procedure #5 quotient> 3.4773299999999097)
(#<procedure #6 integer-sqrt> 59.50296600000014)
547506
"/Users/lucier/programs/gambc40b12/../gambc40b11/gambit-trace2.scm"

32-bit timings

(time (binary-splitting-compute-e size))
     5165 ms real time
     2766 ms cpu time (2624 user, 142 system)
     63 collections accounting for 161 ms real time (74 user, 31 system)
     607635944 bytes allocated
     no minor faults
     no major faults
(time (binary-splitting-compute-pi size))
     6287 ms real time
     3375 ms cpu time (3221 user, 154 system)
     80 collections accounting for 228 ms real time (93 user, 34 system)
     762781320 bytes allocated
     no minor faults
     no major faults
(time (pi-brent-salamin))
     272716 ms real time
     138967 ms cpu time (122341 user, 16626 system)
     925 collections accounting for 10065 ms real time (1080 user,  
4158 system)
     8568010464 bytes allocated
     no minor faults
     no major faults
(#<procedure #2 +> .030378000000034433)
(#<procedure #3 -> .061922999999978856)
(#<procedure #4 *> 27.754853999999927)
(#<procedure #5 quotient> 33.627896000000014)
(#<procedure #6 integer-sqrt> 77.48350500000001)
(time (pi-brent-salamin))
     139892 ms real time
     98029 ms cpu time (85901 user, 12128 system)
     767 collections accounting for 5740 ms real time (826 user, 3016  
system)
     6621118600 bytes allocated
     no minor faults
     no major faults
(#<procedure #2 +> .02661999999995146)
(#<procedure #3 -> .05482300000002738)
(#<procedure #4 *> 23.816316000000086)
(#<procedure #5 quotient> 4.030742000000004)
(#<procedure #6 integer-sqrt> 70.09432399999997)
547506



More information about the Gambit-list mailing list