forked from ursetto/sql-de-lite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test-cache-current.txt
116 lines (116 loc) · 2.76 KB
/
test-cache-current.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
alist lookup by hashed value (end of 50 elt list)
** select 49; **
0.662 seconds elapsed
0.004 seconds in (major) GC
0 mutations
1464 minor GCs
4 major GCs
hash-table lookup by string=?
** select 49; **
0.403 seconds elapsed
0.001 seconds in (major) GC
0 mutations
1824 minor GCs
3 major GCs
alist lookup by hashed value (first element)
** select 0; **
0.476 seconds elapsed
0.001 seconds in (major) GC
0 mutations
1900 minor GCs
4 major GCs
(hash "select 0;")
0.315 seconds elapsed
0.002 seconds in (major) GC
0 mutations
2644 minor GCs
2 major GCs
(string-hash "select 0;")
0.207 seconds elapsed
0.001 seconds in (major) GC
0 mutations
3183 minor GCs
1 major GCs
alist lookup by hashed value (100th element)
** select 99; **
0.824 seconds elapsed
0.002 seconds in (major) GC
0 mutations
1308 minor GCs
4 major GCs
alist lookup by hashed value (200th element)
** select 199; **
1.159 seconds elapsed
0.001 seconds in (major) GC
0 mutations
1151 minor GCs
4 major GCs
hash-table lookup by string=? (200th elt)
** select 199; **
0.412 seconds elapsed
0.003 seconds in (major) GC
0 mutations
1545 minor GCs
3 major GCs
lru-cache populate 100 (capacity 100)
0.001 seconds elapsed
0 seconds in (major) GC
700 mutations
8 minor GCs
0 major GCs
lru-cache lookup, select 100;
select 100;
0.506 seconds elapsed
0.003 seconds in (major) GC
0 mutations
471 minor GCs
5 major GCs
random number overhead
0.266 seconds elapsed
0.001 seconds in (major) GC
0 mutations
1989 minor GCs
1 major GCs
lru-cache lookup, random (half in cache)
select 144;
0.789 seconds elapsed
0.004 seconds in (major) GC
2470470 mutations
682 minor GCs
7 major GCs
lru-cache lookup, random (all in cache)
select 110;
0.901 seconds elapsed
0.004 seconds in (major) GC
4941424 mutations
1357 minor GCs
7 major GCs
lru-cache lookup of static uncached element
#f
0.429 seconds elapsed
0.003 seconds in (major) GC
0 mutations
1383 minor GCs
5 major GCs
lru-cache lookup of static uncached element plus random # overhead
#f
0.64 seconds elapsed
0.002 seconds in (major) GC
0 mutations
2115 minor GCs
5 major GCs
cache size: 100
alist lookup by hashed value, size 200, random lookup
** select 32; **
1.069 seconds elapsed
0.004 seconds in (major) GC
0 mutations
1933 minor GCs
5 major GCs
alist lookup by hashed value, size 200, random lookup in first half
** select 8; **
0.892 seconds elapsed
0.004 seconds in (major) GC
0 mutations
1402 minor GCs
5 major GCs