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
Figures from some importing tests.

== Import 1000 posts ==
=== Unpatched ===
Cache Hits: 11307
Cache Misses: 1073

Group: options - ( 10.97k )
Group: default - ( 0.03k )
Group: user_meta - ( 1.22k )
Group: users - ( 1.01k )
Group: userlogins - ( 0.03k )
Group: useremail - ( 0.03k )
Group: userslugs - ( 0.03k )
Group: counts - ( 0.16k )
Group: post_meta - ( 0.01k )
Group: terms - ( 0.13k )
Group: posts - ( 915.73k )

memory_get_peak_usage = 51491048

=== Commented out wp_cache_add in get_post ===
Cache Hits: 10295
Cache Misses: 1073

Group: options - ( 10.97k )
Group: default - ( 0.03k )
Group: user_meta - ( 1.22k )
Group: users - ( 1.01k )
Group: userlogins - ( 0.03k )
Group: useremail - ( 0.03k )
Group: userslugs - ( 0.03k )
Group: counts - ( 0.16k )
Group: post_meta - ( 0.01k )
Group: terms - ( 0.13k )

memory_get_peak_usage = 44084072

== wp_suspend_caching ==
Cache Hits: 10307
Cache Misses: 1073

Group: options - ( 10.97k )
Group: default - ( 0.03k )
Group: user_meta - ( 1.29k )
Group: users - ( 1.06k )
Group: userlogins - ( 0.03k )
Group: useremail - ( 0.03k )
Group: userslugs - ( 0.03k )
Group: counts - ( 0.16k )
Group: post_meta - ( 0.01k )
Group: terms - ( 0.04k )
Group: posts - ( 0.01k )

memory_get_peak_usage = 44091416

== Import 10000 posts ==
=== Unpatched ===
Cache Hits: 110307
Cache Misses: 10073

Group: options - ( 10.97k )
Group: default - ( 0.03k )
Group: user_meta - ( 1.29k )
Group: users - ( 1.06k )
Group: userlogins - ( 0.03k )
Group: useremail - ( 0.03k )
Group: userslugs - ( 0.03k )
Group: counts - ( 0.16k )
Group: post_meta - ( 0.01k )
Group: terms - ( 0.13k )
Group: posts - ( 9,186.25k )

memory_get_peak_usage = 208987744 (~199MB)

=== Commented out wp_cache_add in get_post ===
Cache Hits: 100295
Cache Misses: 10073

Group: options - ( 10.97k )
Group: default - ( 0.03k )
Group: user_meta - ( 1.29k )
Group: users - ( 1.06k )
Group: userlogins - ( 0.03k )
Group: useremail - ( 0.03k )
Group: userslugs - ( 0.03k )
Group: counts - ( 0.16k )
Group: post_meta - ( 0.01k )
Group: terms - ( 0.13k )

memory_get_peak_usage = 130971496 (~124MB)

=== wp_suspend_caching ===
Cache Hits: 100307
Cache Misses: 10073

Group: options - ( 10.97k )
Group: default - ( 0.03k )
Group: user_meta - ( 1.22k )
Group: users - ( 1.01k )
Group: userlogins - ( 0.03k )
Group: useremail - ( 0.03k )
Group: userslugs - ( 0.03k )
Group: counts - ( 0.16k )
Group: post_meta - ( 0.01k )
Group: terms - ( 0.04k )
Group: posts - ( 0.01k )

memory_get_peak_usage = 130904032 (~124MB)