[m-rev.] for review: 64-bit expected outputs for tabling stats tests

Peter Wang novalazy at gmail.com
Tue Jan 15 13:37:34 AEDT 2008


Estimated hours taken: 0.1
Branches: main

tests/tabling/fib_stats.exp2:
tests/tabling/specified_stats.exp2:
	Add expected outputs for the corresponding test cases when running on
	64-bit architectures.

[diffs vs the existing .exp files for clarity]

--- fib_stats.exp	2007-12-31 21:04:05.000000000 +1100
+++ fib_stats.exp2	2008-01-15 12:52:59.000000000 +1100
@@ -23,9 +23,9 @@
   number of successful lookups:                      17  (60.71%)
   number of unsuccessful lookups:                    11  (39.29%)
   number of hash table allocations:                   1
-  number of bytes allocated for hash tables:        536
+  number of bytes allocated for hash tables:      1,072
   number of bulk hash link allocations:               1
-  number of bytes allocated for hash links:       3,080
+  number of bytes allocated for hash links:       6,160
   number of key compares when unsuccessful:           0
   number of key compares when successful:            17
   number of hash table resizes:                       0
@@ -41,9 +41,9 @@
   number of successful lookups:                      17  (60.71%)
   number of unsuccessful lookups:                    11  (39.29%)
   number of hash table allocations:                   1
-  number of bytes allocated for hash tables:        536
+  number of bytes allocated for hash tables:      1,072
   number of bulk hash link allocations:               1
-  number of bytes allocated for hash links:       3,080
+  number of bytes allocated for hash links:       6,160
   number of key compares when unsuccessful:           0
   number of key compares when successful:            17
   number of hash table resizes:                       0
@@ -70,9 +70,9 @@
   number of successful lookups:                      17  (60.71%)
   number of unsuccessful lookups:                    11  (39.29%)
   number of hash table allocations:                   1
-  number of bytes allocated for hash tables:        536
+  number of bytes allocated for hash tables:      1,072
   number of bulk hash link allocations:               1
-  number of bytes allocated for hash links:       3,080
+  number of bytes allocated for hash links:       6,160
   number of key compares when unsuccessful:           0
   number of key compares when successful:            17
   number of hash table resizes:                       0
@@ -88,9 +88,9 @@
   number of successful lookups:                      37  (63.79%)
   number of unsuccessful lookups:                    21  (36.21%)
   number of hash table allocations:                   1
-  number of bytes allocated for hash tables:        536
+  number of bytes allocated for hash tables:      1,072
   number of bulk hash link allocations:               1
-  number of bytes allocated for hash links:       3,080
+  number of bytes allocated for hash links:       6,160
   number of key compares when unsuccessful:           0
   number of key compares when successful:            37
   number of hash table resizes:                       0

--- specified_stats.exp	2007-12-31 21:04:05.000000000 +1100
+++ specified_stats.exp2	2008-01-15 12:53:59.000000000 +1100
@@ -10,9 +10,9 @@
   number of successful lookups:                   1,218  (99.92%)
   number of unsuccessful lookups:                     1   (0.08%)
   number of hash table allocations:                   2
-  number of bytes allocated for hash tables:      1,072
+  number of bytes allocated for hash tables:      2,144
   number of bulk hash link allocations:               2
-  number of bytes allocated for hash links:       6,160
+  number of bytes allocated for hash links:      12,320
   number of key compares when unsuccessful:           0
   number of key compares when successful:         2,436
   number of hash table resizes:                       0
@@ -22,10 +22,10 @@
   number of successful lookups:                       0   (0.00%)
   number of unsuccessful lookups:                 1,219 (100.00%)
   number of hash table allocations:                   1
-  number of bytes allocated for hash tables:        536
+  number of bytes allocated for hash tables:      1,072
   number of bulk hash link allocations:               5
-  number of bytes allocated for hash links:      15,400
-  number of key compares when unsuccessful:         449
+  number of bytes allocated for hash links:      30,800
+  number of key compares when unsuccessful:         493
   number of key compares when successful:             0
   number of hash table resizes:                       4
   number of old entries in resizes:               1,914
@@ -46,9 +46,9 @@
   number of successful lookups:                      26  (96.30%)
   number of unsuccessful lookups:                     1   (3.70%)
   number of hash table allocations:                   2
-  number of bytes allocated for hash tables:      1,072
+  number of bytes allocated for hash tables:      2,144
   number of bulk hash link allocations:               2
-  number of bytes allocated for hash links:       6,160
+  number of bytes allocated for hash links:      12,320
   number of key compares when unsuccessful:           0
   number of key compares when successful:            52
   number of hash table resizes:                       0
@@ -58,12 +58,12 @@
   number of successful lookups:                      12  (44.44%)
   number of unsuccessful lookups:                    15  (55.56%)
   number of du functor node allocations:             16
-  number of bytes allocated for du functors:        128
+  number of bytes allocated for du functors:        256
   number of du functor argument lookups:             70
   number of hash table allocations:                   2
-  number of bytes allocated for hash tables:      1,072
+  number of bytes allocated for hash tables:      2,144
   number of bulk hash link allocations:               2
-  number of bytes allocated for hash links:       6,160
+  number of bytes allocated for hash links:      12,320
   number of key compares when unsuccessful:           0
   number of key compares when successful:            20
   number of hash table resizes:                       0
@@ -84,10 +84,10 @@
   number of successful lookups:                       0   (0.00%)
   number of unsuccessful lookups:                 1,219 (100.00%)
   number of hash table allocations:                   1
-  number of bytes allocated for hash tables:        536
+  number of bytes allocated for hash tables:      1,072
   number of bulk hash link allocations:               5
-  number of bytes allocated for hash links:      15,400
-  number of key compares when unsuccessful:         478
+  number of bytes allocated for hash links:      30,800
+  number of key compares when unsuccessful:         498
   number of key compares when successful:             0
   number of hash table resizes:                       4
   number of old entries in resizes:               1,914
@@ -108,12 +108,12 @@
   number of successful lookups:                      12  (44.44%)
   number of unsuccessful lookups:                    15  (55.56%)
   number of du functor node allocations:             16
-  number of bytes allocated for du functors:        128
+  number of bytes allocated for du functors:        256
   number of du functor argument lookups:             70
   number of hash table allocations:                   2
-  number of bytes allocated for hash tables:      1,072
+  number of bytes allocated for hash tables:      2,144
   number of bulk hash link allocations:               2
-  number of bytes allocated for hash links:       6,160
+  number of bytes allocated for hash links:      12,320
   number of key compares when unsuccessful:           0
   number of key compares when successful:            20
   number of hash table resizes:                       0
@@ -134,12 +134,12 @@
   number of successful lookups:                     442  (49.83%)
   number of unsuccessful lookups:                   445  (50.17%)
   number of du functor node allocations:            446
-  number of bytes allocated for du functors:      3,568
+  number of bytes allocated for du functors:      7,136
   number of du functor argument lookups:          4,886
   number of hash table allocations:                  45
-  number of bytes allocated for hash tables:     24,120
+  number of bytes allocated for hash tables:     48,240
   number of bulk hash link allocations:              45
-  number of bytes allocated for hash links:     138,600
+  number of bytes allocated for hash links:     277,200
   number of key compares when unsuccessful:           0
   number of key compares when successful:         1,998
   number of hash table resizes:                       0
@@ -149,12 +149,12 @@
   number of successful lookups:                     442  (49.83%)
   number of unsuccessful lookups:                   445  (50.17%)
   number of du functor node allocations:          1,670
-  number of bytes allocated for du functors:     13,360
+  number of bytes allocated for du functors:     26,720
   number of du functor argument lookups:          4,886
   number of hash table allocations:               1,225
-  number of bytes allocated for hash tables:    656,600
+  number of bytes allocated for hash tables:  1,313,200
   number of bulk hash link allocations:           1,225
-  number of bytes allocated for hash links:   3,773,000
+  number of bytes allocated for hash links:   7,546,000
   number of key compares when unsuccessful:           0
   number of key compares when successful:         1,218
   number of hash table resizes:                       0
@@ -171,12 +171,12 @@
   number of successful lookups:                     442  (49.83%)
   number of unsuccessful lookups:                   445  (50.17%)
   number of du functor node allocations:            446
-  number of bytes allocated for du functors:      3,568
+  number of bytes allocated for du functors:      7,136
   number of du functor argument lookups:          4,886
   number of hash table allocations:                  45
-  number of bytes allocated for hash tables:     24,120
+  number of bytes allocated for hash tables:     48,240
   number of bulk hash link allocations:              45
-  number of bytes allocated for hash links:     138,600
+  number of bytes allocated for hash links:     277,200
   number of key compares when unsuccessful:           0
   number of key compares when successful:         1,998
   number of hash table resizes:                       0

Are the changed number of unsuccessful key compares in
specified_stats.exp2 a problem?

Peter

--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list