##// END OF EJS Templates
test-sparse-revlog: use zlib compression...
marmoute -
r53332:7e954b08 default
parent child Browse files
Show More
@@ -38,6 +38,7 repeatedly while some of it changes rare
38 > [format]
38 > [format]
39 > sparse-revlog = yes
39 > sparse-revlog = yes
40 > maxchainlen = 15
40 > maxchainlen = 15
41 > revlog-compression=zlib
41 > [storage]
42 > [storage]
42 > revlog.optimize-delta-parent-choice = yes
43 > revlog.optimize-delta-parent-choice = yes
43 > revlog.reuse-external-delta = no
44 > revlog.reuse-external-delta = no
@@ -91,7 +92,7 repeatedly while some of it changes rare
91
92
92
93
93 $ f -s .hg/store/data/*.d
94 $ f -s .hg/store/data/*.d
94 .hg/store/data/_s_p_a_r_s_e-_r_e_v_l_o_g-_t_e_s_t-_f_i_l_e.d: size=58616973
95 .hg/store/data/_s_p_a_r_s_e-_r_e_v_l_o_g-_t_e_s_t-_f_i_l_e.d: size=63327412
95 $ hg debugrevlog *
96 $ hg debugrevlog *
96 format : 1
97 format : 1
97 flags : generaldelta
98 flags : generaldelta
@@ -105,52 +106,49 repeatedly while some of it changes rare
105 delta : 0 (100.00%)
106 delta : 0 (100.00%)
106 snapshot : 383 ( 7.66%)
107 snapshot : 383 ( 7.66%)
107 lvl-0 : 3 ( 0.06%)
108 lvl-0 : 3 ( 0.06%)
108 lvl-1 : 18 ( 0.36%) non-ancestor-bases: 9 (50.00%)
109 lvl-1 : 20 ( 0.40%) non-ancestor-bases: 13 (65.00%)
109 lvl-2 : 62 ( 1.24%) non-ancestor-bases: 58 (93.55%)
110 lvl-2 : 68 ( 1.36%) non-ancestor-bases: 64 (94.12%)
110 lvl-3 : 108 ( 2.16%) non-ancestor-bases: 108 (100.00%)
111 lvl-3 : 112 ( 2.24%) non-ancestor-bases: 112 (100.00%)
111 lvl-4 : 191 ( 3.82%) non-ancestor-bases: 180 (94.24%)
112 lvl-4 : 180 ( 3.60%) non-ancestor-bases: 180 (100.00%)
112 lvl-5 : 1 ( 0.02%) non-ancestor-bases: 1 (100.00%)
113 deltas : 4618 (92.34%)
113 deltas : 4618 (92.34%)
114 revision size : 58616973
114 revision size : 63327412
115 snapshot : 9247844 (15.78%)
115 snapshot : 9886710 (15.61%)
116 lvl-0 : 539532 ( 0.92%)
116 lvl-0 : 603104 ( 0.95%)
117 lvl-1 : 1467743 ( 2.50%)
117 lvl-1 : 1559991 ( 2.46%)
118 lvl-2 : 1873820 ( 3.20%)
118 lvl-2 : 2295592 ( 3.62%)
119 lvl-3 : 2326874 ( 3.97%)
119 lvl-3 : 2531199 ( 4.00%)
120 lvl-4 : 3029118 ( 5.17%)
120 lvl-4 : 2896824 ( 4.57%)
121 lvl-5 : 10757 ( 0.02%)
121 deltas : 53440702 (84.39%)
122 deltas : 49369129 (84.22%)
123
122
124 chunks : 5001
123 chunks : 5001
125 0x28 : 5001 (100.00%)
124 0x78 (x) : 5001 (100.00%)
126 chunks size : 58616973
125 chunks size : 63327412
127 0x28 : 58616973 (100.00%)
126 0x78 (x) : 63327412 (100.00%)
128
127
129
128
130 total-stored-content: 1 732 705 361 bytes
129 total-stored-content: 1 732 705 361 bytes
131
130
132 avg chain length : 9
131 avg chain length : 9
133 max chain length : 15
132 max chain length : 15
134 max chain reach : 27366701
133 max chain reach : 28248745
135 compression ratio : 29
134 compression ratio : 27
136
135
137 uncompressed data size (min/max/avg) : 346468 / 346472 / 346471
136 uncompressed data size (min/max/avg) : 346468 / 346472 / 346471
138 full revision size (min/max/avg) : 179288 / 180786 / 179844
137 full revision size (min/max/avg) : 201008 / 201050 / 201034
139 inter-snapshot size (min/max/avg) : 10757 / 169507 / 22916
138 inter-snapshot size (min/max/avg) : 11596 / 168150 / 24430
140 level-1 (min/max/avg) : 13905 / 169507 / 81541
139 level-1 (min/max/avg) : 16653 / 168150 / 77999
141 level-2 (min/max/avg) : 10887 / 83873 / 30222
140 level-2 (min/max/avg) : 12951 / 85595 / 33758
142 level-3 (min/max/avg) : 10911 / 43047 / 21545
141 level-3 (min/max/avg) : 11608 / 43029 / 22599
143 level-4 (min/max/avg) : 10838 / 21390 / 15859
142 level-4 (min/max/avg) : 11596 / 21632 / 16093
144 level-5 (min/max/avg) : 10757 / 10757 / 10757
143 delta size (min/max/avg) : 10649 / 107163 / 11572
145 delta size (min/max/avg) : 9672 / 108072 / 10690
146
144
147 deltas against prev : 3906 (84.58%)
145 deltas against prev : 3910 (84.67%)
148 where prev = p1 : 3906 (100.00%)
146 where prev = p1 : 3910 (100.00%)
149 where prev = p2 : 0 ( 0.00%)
147 where prev = p2 : 0 ( 0.00%)
150 other-ancestor : 0 ( 0.00%)
148 other-ancestor : 0 ( 0.00%)
151 unrelated : 0 ( 0.00%)
149 unrelated : 0 ( 0.00%)
152 deltas against p1 : 649 (14.05%)
150 deltas against p1 : 648 (14.03%)
153 deltas against p2 : 63 ( 1.36%)
151 deltas against p2 : 60 ( 1.30%)
154 deltas against ancs : 0 ( 0.00%)
152 deltas against ancs : 0 ( 0.00%)
155 deltas against other : 0 ( 0.00%)
153 deltas against other : 0 ( 0.00%)
156
154
@@ -161,59 +159,52 Test `debug-delta-find`
161 $ ls -1
159 $ ls -1
162 SPARSE-REVLOG-TEST-FILE
160 SPARSE-REVLOG-TEST-FILE
163 $ hg debugdeltachain SPARSE-REVLOG-TEST-FILE | grep snap | tail -1
161 $ hg debugdeltachain SPARSE-REVLOG-TEST-FILE | grep snap | tail -1
164 4971 4970 -1 3 5 4930 snap
162 4999 4998 -1 3 5 4982 snap
165 $ LAST_SNAP=`hg debugdeltachain SPARSE-REVLOG-TEST-FILE | grep snap | tail -1| sed 's/^ \+//'| cut -d ' ' -f 1`
163 $ LAST_SNAP=`hg debugdeltachain SPARSE-REVLOG-TEST-FILE | grep snap | tail -1| sed 's/^ \+//'| cut -d ' ' -f 1`
166 $ echo Last Snapshot: $LAST_SNAP
164 $ echo Last Snapshot: $LAST_SNAP
167 Last Snapshot: 4971
165 Last Snapshot: 4999
168 $ hg debug-delta-find SPARSE-REVLOG-TEST-FILE $LAST_SNAP
166 $ hg debug-delta-find SPARSE-REVLOG-TEST-FILE $LAST_SNAP
169 DBG-DELTAS-SEARCH: SEARCH rev=4971
167 DBG-DELTAS-SEARCH: SEARCH rev=4999
170 DBG-DELTAS-SEARCH: ROUND #1 - 3 candidates - search-down
168 DBG-DELTAS-SEARCH: ROUND #1 - 2 candidates - search-down
171 DBG-DELTAS-SEARCH: CANDIDATE: rev=4329
169 DBG-DELTAS-SEARCH: CANDIDATE: rev=4989
172 DBG-DELTAS-SEARCH: type=snapshot-4
170 DBG-DELTAS-SEARCH: type=snapshot-4
173 DBG-DELTAS-SEARCH: size=13781
171 DBG-DELTAS-SEARCH: size=18293
174 DBG-DELTAS-SEARCH: base=4325
172 DBG-DELTAS-SEARCH: base=4982
175 DBG-DELTAS-SEARCH: uncompressed-delta-size=173765
173 DBG-DELTAS-SEARCH: uncompressed-delta-size=24239
176 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
177 DBG-DELTAS-SEARCH: DELTA: length=106516 (BAD)
178 DBG-DELTAS-SEARCH: CANDIDATE: rev=4335
179 DBG-DELTAS-SEARCH: type=snapshot-4
180 DBG-DELTAS-SEARCH: size=14385
181 DBG-DELTAS-SEARCH: base=4325
182 DBG-DELTAS-SEARCH: uncompressed-delta-size=171587
183 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
174 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
184 DBG-DELTAS-SEARCH: DELTA: length=105187 (BAD)
175 DBG-DELTAS-SEARCH: DELTA: length=14602 (BAD)
185 DBG-DELTAS-SEARCH: CANDIDATE: rev=4962
176 DBG-DELTAS-SEARCH: CANDIDATE: rev=4993
186 DBG-DELTAS-SEARCH: type=snapshot-4
177 DBG-DELTAS-SEARCH: type=snapshot-4
187 DBG-DELTAS-SEARCH: size=18296
178 DBG-DELTAS-SEARCH: size=18588
188 DBG-DELTAS-SEARCH: base=4930
179 DBG-DELTAS-SEARCH: base=4982
189 DBG-DELTAS-SEARCH: uncompressed-delta-size=30377
180 DBG-DELTAS-SEARCH: uncompressed-delta-size=21665
190 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
181 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
191 DBG-DELTAS-SEARCH: DELTA: length=16872 (BAD)
182 DBG-DELTAS-SEARCH: DELTA: length=12983 (BAD)
192 DBG-DELTAS-SEARCH: ROUND #2 - 2 candidates - search-down
183 DBG-DELTAS-SEARCH: ROUND #2 - 2 candidates - search-down
193 DBG-DELTAS-SEARCH: CANDIDATE: rev=4325
184 DBG-DELTAS-SEARCH: CANDIDATE: rev=4951
194 DBG-DELTAS-SEARCH: type=snapshot-3
185 DBG-DELTAS-SEARCH: type=snapshot-3
195 DBG-DELTAS-SEARCH: size=17384
186 DBG-DELTAS-SEARCH: size=14295
196 DBG-DELTAS-SEARCH: base=4318
187 DBG-DELTAS-SEARCH: base=4939
197 DBG-DELTAS-SEARCH: uncompressed-delta-size=178121
198 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
199 DBG-DELTAS-SEARCH: DELTA: length=109064 (BAD)
200 DBG-DELTAS-SEARCH: CANDIDATE: rev=4930
201 DBG-DELTAS-SEARCH: type=snapshot-3
202 DBG-DELTAS-SEARCH: size=39228
203 DBG-DELTAS-SEARCH: base=4799
204 DBG-DELTAS-SEARCH: uncompressed-delta-size=33050
188 DBG-DELTAS-SEARCH: uncompressed-delta-size=33050
205 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
189 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
206 DBG-DELTAS-SEARCH: DELTA: length=19179 (GOOD)
190 DBG-DELTAS-SEARCH: DELTA: length=20146 (BAD)
191 DBG-DELTAS-SEARCH: CANDIDATE: rev=4982
192 DBG-DELTAS-SEARCH: type=snapshot-3
193 DBG-DELTAS-SEARCH: size=24115
194 DBG-DELTAS-SEARCH: base=4939
195 DBG-DELTAS-SEARCH: uncompressed-delta-size=31169
196 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
197 DBG-DELTAS-SEARCH: DELTA: length=18912 (GOOD)
207 DBG-DELTAS-SEARCH: ROUND #3 - 1 candidates - refine-down
198 DBG-DELTAS-SEARCH: ROUND #3 - 1 candidates - refine-down
208 DBG-DELTAS-SEARCH: CONTENDER: rev=4930 - length=19179
199 DBG-DELTAS-SEARCH: CONTENDER: rev=4982 - length=18912
209 DBG-DELTAS-SEARCH: CANDIDATE: rev=4799
200 DBG-DELTAS-SEARCH: CANDIDATE: rev=4939
210 DBG-DELTAS-SEARCH: type=snapshot-2
201 DBG-DELTAS-SEARCH: type=snapshot-2
211 DBG-DELTAS-SEARCH: size=50213
202 DBG-DELTAS-SEARCH: size=85389
212 DBG-DELTAS-SEARCH: base=4623
203 DBG-DELTAS-SEARCH: base=4591
213 DBG-DELTAS-SEARCH: uncompressed-delta-size=82661
204 DBG-DELTAS-SEARCH: uncompressed-delta-size=40376
214 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
205 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
215 DBG-DELTAS-SEARCH: DELTA: length=49132 (BAD)
206 DBG-DELTAS-SEARCH: DELTA: length=24686 (GOOD)
216 DBG-DELTAS: FILELOG:SPARSE-REVLOG-TEST-FILE: rev=4971: delta-base=4930 is-cached=0 - search-rounds=3 try-count=6 - delta-type=snapshot snap-depth=4 - p1-chain-length=15 p2-chain-length=-1 - duration=* (glob)
207 DBG-DELTAS: FILELOG:SPARSE-REVLOG-TEST-FILE: rev=4999: delta-base=4982 is-cached=0 - search-rounds=3 try-count=5 - delta-type=snapshot snap-depth=4 - p1-chain-length=15 p2-chain-length=-1 - duration=*.?????? (glob)
217
208
218 $ cat << EOF >>.hg/hgrc
209 $ cat << EOF >>.hg/hgrc
219 > [storage]
210 > [storage]
@@ -222,213 +213,185 Test `debug-delta-find`
222 > EOF
213 > EOF
223
214
224 $ hg debug-delta-find SPARSE-REVLOG-TEST-FILE $LAST_SNAP --quiet
215 $ hg debug-delta-find SPARSE-REVLOG-TEST-FILE $LAST_SNAP --quiet
225 DBG-DELTAS: FILELOG:SPARSE-REVLOG-TEST-FILE: rev=4971: delta-base=4930 is-cached=0 - search-rounds=3 try-count=6 - delta-type=snapshot snap-depth=4 - p1-chain-length=15 p2-chain-length=-1 - duration=* (glob)
216 DBG-DELTAS: FILELOG:SPARSE-REVLOG-TEST-FILE: rev=4999: delta-base=4982 is-cached=0 - search-rounds=3 try-count=5 - delta-type=snapshot snap-depth=4 - p1-chain-length=15 p2-chain-length=-1 - duration=*.?????? (glob)
226 $ hg debug-delta-find SPARSE-REVLOG-TEST-FILE $LAST_SNAP --source full
217 $ hg debug-delta-find SPARSE-REVLOG-TEST-FILE $LAST_SNAP --source full
227 DBG-DELTAS-SEARCH: SEARCH rev=4971
218 DBG-DELTAS-SEARCH: SEARCH rev=4999
228 DBG-DELTAS-SEARCH: ROUND #1 - 3 candidates - search-down
219 DBG-DELTAS-SEARCH: ROUND #1 - 2 candidates - search-down
229 DBG-DELTAS-SEARCH: CANDIDATE: rev=4329
220 DBG-DELTAS-SEARCH: CANDIDATE: rev=4989
230 DBG-DELTAS-SEARCH: type=snapshot-4
221 DBG-DELTAS-SEARCH: type=snapshot-4
231 DBG-DELTAS-SEARCH: size=13781
222 DBG-DELTAS-SEARCH: size=18293
232 DBG-DELTAS-SEARCH: base=4325
223 DBG-DELTAS-SEARCH: base=4982
233 DBG-DELTAS-SEARCH: uncompressed-delta-size=173765
224 DBG-DELTAS-SEARCH: uncompressed-delta-size=24239
234 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
235 DBG-DELTAS-SEARCH: DELTA: length=106516 (BAD)
236 DBG-DELTAS-SEARCH: CANDIDATE: rev=4335
237 DBG-DELTAS-SEARCH: type=snapshot-4
238 DBG-DELTAS-SEARCH: size=14385
239 DBG-DELTAS-SEARCH: base=4325
240 DBG-DELTAS-SEARCH: uncompressed-delta-size=171587
241 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
225 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
242 DBG-DELTAS-SEARCH: DELTA: length=105187 (BAD)
226 DBG-DELTAS-SEARCH: DELTA: length=14602 (BAD)
243 DBG-DELTAS-SEARCH: CANDIDATE: rev=4962
227 DBG-DELTAS-SEARCH: CANDIDATE: rev=4993
244 DBG-DELTAS-SEARCH: type=snapshot-4
228 DBG-DELTAS-SEARCH: type=snapshot-4
245 DBG-DELTAS-SEARCH: size=18296
229 DBG-DELTAS-SEARCH: size=18588
246 DBG-DELTAS-SEARCH: base=4930
230 DBG-DELTAS-SEARCH: base=4982
247 DBG-DELTAS-SEARCH: uncompressed-delta-size=30377
231 DBG-DELTAS-SEARCH: uncompressed-delta-size=21665
248 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
232 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
249 DBG-DELTAS-SEARCH: DELTA: length=16872 (BAD)
233 DBG-DELTAS-SEARCH: DELTA: length=12983 (BAD)
250 DBG-DELTAS-SEARCH: ROUND #2 - 2 candidates - search-down
234 DBG-DELTAS-SEARCH: ROUND #2 - 2 candidates - search-down
251 DBG-DELTAS-SEARCH: CANDIDATE: rev=4325
235 DBG-DELTAS-SEARCH: CANDIDATE: rev=4951
252 DBG-DELTAS-SEARCH: type=snapshot-3
236 DBG-DELTAS-SEARCH: type=snapshot-3
253 DBG-DELTAS-SEARCH: size=17384
237 DBG-DELTAS-SEARCH: size=14295
254 DBG-DELTAS-SEARCH: base=4318
238 DBG-DELTAS-SEARCH: base=4939
255 DBG-DELTAS-SEARCH: uncompressed-delta-size=178121
256 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
257 DBG-DELTAS-SEARCH: DELTA: length=109064 (BAD)
258 DBG-DELTAS-SEARCH: CANDIDATE: rev=4930
259 DBG-DELTAS-SEARCH: type=snapshot-3
260 DBG-DELTAS-SEARCH: size=39228
261 DBG-DELTAS-SEARCH: base=4799
262 DBG-DELTAS-SEARCH: uncompressed-delta-size=33050
239 DBG-DELTAS-SEARCH: uncompressed-delta-size=33050
263 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
240 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
264 DBG-DELTAS-SEARCH: DELTA: length=19179 (GOOD)
241 DBG-DELTAS-SEARCH: DELTA: length=20146 (BAD)
242 DBG-DELTAS-SEARCH: CANDIDATE: rev=4982
243 DBG-DELTAS-SEARCH: type=snapshot-3
244 DBG-DELTAS-SEARCH: size=24115
245 DBG-DELTAS-SEARCH: base=4939
246 DBG-DELTAS-SEARCH: uncompressed-delta-size=31169
247 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
248 DBG-DELTAS-SEARCH: DELTA: length=18912 (GOOD)
265 DBG-DELTAS-SEARCH: ROUND #3 - 1 candidates - refine-down
249 DBG-DELTAS-SEARCH: ROUND #3 - 1 candidates - refine-down
266 DBG-DELTAS-SEARCH: CONTENDER: rev=4930 - length=19179
250 DBG-DELTAS-SEARCH: CONTENDER: rev=4982 - length=18912
267 DBG-DELTAS-SEARCH: CANDIDATE: rev=4799
251 DBG-DELTAS-SEARCH: CANDIDATE: rev=4939
268 DBG-DELTAS-SEARCH: type=snapshot-2
252 DBG-DELTAS-SEARCH: type=snapshot-2
269 DBG-DELTAS-SEARCH: size=50213
253 DBG-DELTAS-SEARCH: size=85389
270 DBG-DELTAS-SEARCH: base=4623
254 DBG-DELTAS-SEARCH: base=4591
271 DBG-DELTAS-SEARCH: uncompressed-delta-size=82661
255 DBG-DELTAS-SEARCH: uncompressed-delta-size=40376
272 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
256 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
273 DBG-DELTAS-SEARCH: DELTA: length=49132 (BAD)
257 DBG-DELTAS-SEARCH: DELTA: length=24686 (GOOD)
274 DBG-DELTAS: FILELOG:SPARSE-REVLOG-TEST-FILE: rev=4971: delta-base=4930 is-cached=0 - search-rounds=3 try-count=6 - delta-type=snapshot snap-depth=4 - p1-chain-length=15 p2-chain-length=-1 - duration=* (glob)
258 DBG-DELTAS: FILELOG:SPARSE-REVLOG-TEST-FILE: rev=4999: delta-base=4982 is-cached=0 - search-rounds=3 try-count=5 - delta-type=snapshot snap-depth=4 - p1-chain-length=15 p2-chain-length=-1 - duration=*.?????? (glob)
275 $ hg debug-delta-find SPARSE-REVLOG-TEST-FILE $LAST_SNAP --source storage
259 $ hg debug-delta-find SPARSE-REVLOG-TEST-FILE $LAST_SNAP --source storage
276 DBG-DELTAS-SEARCH: SEARCH rev=4971
260 DBG-DELTAS-SEARCH: SEARCH rev=4999
277 DBG-DELTAS-SEARCH: ROUND #1 - 1 candidates - cached-delta
261 DBG-DELTAS-SEARCH: ROUND #1 - 1 candidates - cached-delta
278 DBG-DELTAS-SEARCH: CANDIDATE: rev=4930
262 DBG-DELTAS-SEARCH: CANDIDATE: rev=4982
279 DBG-DELTAS-SEARCH: type=snapshot-3
263 DBG-DELTAS-SEARCH: type=snapshot-3
280 DBG-DELTAS-SEARCH: size=39228
264 DBG-DELTAS-SEARCH: size=24115
281 DBG-DELTAS-SEARCH: base=4799
265 DBG-DELTAS-SEARCH: base=4939
282 DBG-DELTAS-SEARCH: uncompressed-delta-size=33050
266 DBG-DELTAS-SEARCH: uncompressed-delta-size=31169
283 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
267 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
284 DBG-DELTAS-SEARCH: DELTA: length=19179 (GOOD)
268 DBG-DELTAS-SEARCH: DELTA: length=18912 (GOOD)
285 DBG-DELTAS: FILELOG:SPARSE-REVLOG-TEST-FILE: rev=4971: delta-base=4930 is-cached=1 - search-rounds=1 try-count=1 - delta-type=delta snap-depth=-1 - p1-chain-length=15 p2-chain-length=-1 - duration=* (glob)
269 DBG-DELTAS: FILELOG:SPARSE-REVLOG-TEST-FILE: rev=4999: delta-base=4982 is-cached=1 - search-rounds=1 try-count=1 - delta-type=delta snap-depth=-1 - p1-chain-length=15 p2-chain-length=-1 - duration=*.?????? (glob)
286 $ hg debug-delta-find SPARSE-REVLOG-TEST-FILE $LAST_SNAP --source p1
270 $ hg debug-delta-find SPARSE-REVLOG-TEST-FILE $LAST_SNAP --source p1
287 DBG-DELTAS-SEARCH: SEARCH rev=4971
271 DBG-DELTAS-SEARCH: SEARCH rev=4999
288 DBG-DELTAS-SEARCH: ROUND #1 - 3 candidates - search-down
272 DBG-DELTAS-SEARCH: ROUND #1 - 2 candidates - search-down
289 DBG-DELTAS-SEARCH: CANDIDATE: rev=4329
273 DBG-DELTAS-SEARCH: CANDIDATE: rev=4989
290 DBG-DELTAS-SEARCH: type=snapshot-4
274 DBG-DELTAS-SEARCH: type=snapshot-4
291 DBG-DELTAS-SEARCH: size=13781
275 DBG-DELTAS-SEARCH: size=18293
292 DBG-DELTAS-SEARCH: base=4325
276 DBG-DELTAS-SEARCH: base=4982
293 DBG-DELTAS-SEARCH: uncompressed-delta-size=173765
277 DBG-DELTAS-SEARCH: uncompressed-delta-size=24239
294 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
278 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
295 DBG-DELTAS-SEARCH: DELTA: length=106516 (BAD)
279 DBG-DELTAS-SEARCH: DELTA: length=14602 (BAD)
296 DBG-DELTAS-SEARCH: CANDIDATE: rev=4335
280 DBG-DELTAS-SEARCH: CANDIDATE: rev=4993
297 DBG-DELTAS-SEARCH: type=snapshot-4
298 DBG-DELTAS-SEARCH: size=14385
299 DBG-DELTAS-SEARCH: base=4325
300 DBG-DELTAS-SEARCH: uncompressed-delta-size=171587
301 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
302 DBG-DELTAS-SEARCH: DELTA: length=105187 (BAD)
303 DBG-DELTAS-SEARCH: CANDIDATE: rev=4962
304 DBG-DELTAS-SEARCH: type=snapshot-4
281 DBG-DELTAS-SEARCH: type=snapshot-4
305 DBG-DELTAS-SEARCH: size=18296
282 DBG-DELTAS-SEARCH: size=18588
306 DBG-DELTAS-SEARCH: base=4930
283 DBG-DELTAS-SEARCH: base=4982
307 DBG-DELTAS-SEARCH: uncompressed-delta-size=30377
284 DBG-DELTAS-SEARCH: uncompressed-delta-size=21665
308 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
285 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
309 DBG-DELTAS-SEARCH: DELTA: length=16872 (BAD)
286 DBG-DELTAS-SEARCH: DELTA: length=12983 (BAD)
310 DBG-DELTAS-SEARCH: ROUND #2 - 2 candidates - search-down
287 DBG-DELTAS-SEARCH: ROUND #2 - 2 candidates - search-down
311 DBG-DELTAS-SEARCH: CANDIDATE: rev=4325
288 DBG-DELTAS-SEARCH: CANDIDATE: rev=4951
312 DBG-DELTAS-SEARCH: type=snapshot-3
289 DBG-DELTAS-SEARCH: type=snapshot-3
313 DBG-DELTAS-SEARCH: size=17384
290 DBG-DELTAS-SEARCH: size=14295
314 DBG-DELTAS-SEARCH: base=4318
291 DBG-DELTAS-SEARCH: base=4939
315 DBG-DELTAS-SEARCH: uncompressed-delta-size=178121
316 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
317 DBG-DELTAS-SEARCH: DELTA: length=109064 (BAD)
318 DBG-DELTAS-SEARCH: CANDIDATE: rev=4930
319 DBG-DELTAS-SEARCH: type=snapshot-3
320 DBG-DELTAS-SEARCH: size=39228
321 DBG-DELTAS-SEARCH: base=4799
322 DBG-DELTAS-SEARCH: uncompressed-delta-size=33050
292 DBG-DELTAS-SEARCH: uncompressed-delta-size=33050
323 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
293 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
324 DBG-DELTAS-SEARCH: DELTA: length=19179 (GOOD)
294 DBG-DELTAS-SEARCH: DELTA: length=20146 (BAD)
325 DBG-DELTAS-SEARCH: ROUND #3 - 1 candidates - refine-down
295 DBG-DELTAS-SEARCH: CANDIDATE: rev=4982
326 DBG-DELTAS-SEARCH: CONTENDER: rev=4930 - length=19179
296 DBG-DELTAS-SEARCH: type=snapshot-3
327 DBG-DELTAS-SEARCH: CANDIDATE: rev=4799
297 DBG-DELTAS-SEARCH: size=24115
328 DBG-DELTAS-SEARCH: type=snapshot-2
298 DBG-DELTAS-SEARCH: base=4939
329 DBG-DELTAS-SEARCH: size=50213
299 DBG-DELTAS-SEARCH: uncompressed-delta-size=31169
330 DBG-DELTAS-SEARCH: base=4623
331 DBG-DELTAS-SEARCH: uncompressed-delta-size=82661
332 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
300 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
333 DBG-DELTAS-SEARCH: DELTA: length=49132 (BAD)
301 DBG-DELTAS-SEARCH: DELTA: length=18912 (GOOD)
334 DBG-DELTAS: FILELOG:SPARSE-REVLOG-TEST-FILE: rev=4971: delta-base=4930 is-cached=0 - search-rounds=3 try-count=6 - delta-type=snapshot snap-depth=4 - p1-chain-length=15 p2-chain-length=-1 - duration=* (glob)
302 DBG-DELTAS-SEARCH: ROUND #3 - 1 candidates - refine-down
303 DBG-DELTAS-SEARCH: CONTENDER: rev=4982 - length=18912
304 DBG-DELTAS-SEARCH: CANDIDATE: rev=4939
305 DBG-DELTAS-SEARCH: type=snapshot-2
306 DBG-DELTAS-SEARCH: size=85389
307 DBG-DELTAS-SEARCH: base=4591
308 DBG-DELTAS-SEARCH: uncompressed-delta-size=40376
309 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
310 DBG-DELTAS-SEARCH: DELTA: length=24686 (GOOD)
311 DBG-DELTAS: FILELOG:SPARSE-REVLOG-TEST-FILE: rev=4999: delta-base=4982 is-cached=0 - search-rounds=3 try-count=5 - delta-type=snapshot snap-depth=4 - p1-chain-length=15 p2-chain-length=-1 - duration=*.?????? (glob)
335 $ hg debug-delta-find SPARSE-REVLOG-TEST-FILE $LAST_SNAP --source p2
312 $ hg debug-delta-find SPARSE-REVLOG-TEST-FILE $LAST_SNAP --source p2
336 DBG-DELTAS-SEARCH: SEARCH rev=4971
313 DBG-DELTAS-SEARCH: SEARCH rev=4999
337 DBG-DELTAS-SEARCH: ROUND #1 - 3 candidates - search-down
314 DBG-DELTAS-SEARCH: ROUND #1 - 2 candidates - search-down
338 DBG-DELTAS-SEARCH: CANDIDATE: rev=4329
315 DBG-DELTAS-SEARCH: CANDIDATE: rev=4989
339 DBG-DELTAS-SEARCH: type=snapshot-4
340 DBG-DELTAS-SEARCH: size=13781
341 DBG-DELTAS-SEARCH: base=4325
342 DBG-DELTAS-SEARCH: uncompressed-delta-size=173765
343 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
344 DBG-DELTAS-SEARCH: DELTA: length=106516 (BAD)
345 DBG-DELTAS-SEARCH: CANDIDATE: rev=4335
346 DBG-DELTAS-SEARCH: type=snapshot-4
316 DBG-DELTAS-SEARCH: type=snapshot-4
347 DBG-DELTAS-SEARCH: size=14385
317 DBG-DELTAS-SEARCH: size=18293
348 DBG-DELTAS-SEARCH: base=4325
318 DBG-DELTAS-SEARCH: base=4982
349 DBG-DELTAS-SEARCH: uncompressed-delta-size=171587
319 DBG-DELTAS-SEARCH: uncompressed-delta-size=24239
350 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
351 DBG-DELTAS-SEARCH: DELTA: length=105187 (BAD)
352 DBG-DELTAS-SEARCH: CANDIDATE: rev=4962
353 DBG-DELTAS-SEARCH: type=snapshot-4
354 DBG-DELTAS-SEARCH: size=18296
355 DBG-DELTAS-SEARCH: base=4930
356 DBG-DELTAS-SEARCH: uncompressed-delta-size=30377
357 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
320 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
358 DBG-DELTAS-SEARCH: DELTA: length=16872 (BAD)
321 DBG-DELTAS-SEARCH: DELTA: length=14602 (BAD)
322 DBG-DELTAS-SEARCH: CANDIDATE: rev=4993
323 DBG-DELTAS-SEARCH: type=snapshot-4
324 DBG-DELTAS-SEARCH: size=18588
325 DBG-DELTAS-SEARCH: base=4982
326 DBG-DELTAS-SEARCH: uncompressed-delta-size=21665
327 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
328 DBG-DELTAS-SEARCH: DELTA: length=12983 (BAD)
359 DBG-DELTAS-SEARCH: ROUND #2 - 2 candidates - search-down
329 DBG-DELTAS-SEARCH: ROUND #2 - 2 candidates - search-down
360 DBG-DELTAS-SEARCH: CANDIDATE: rev=4325
330 DBG-DELTAS-SEARCH: CANDIDATE: rev=4951
361 DBG-DELTAS-SEARCH: type=snapshot-3
331 DBG-DELTAS-SEARCH: type=snapshot-3
362 DBG-DELTAS-SEARCH: size=17384
332 DBG-DELTAS-SEARCH: size=14295
363 DBG-DELTAS-SEARCH: base=4318
333 DBG-DELTAS-SEARCH: base=4939
364 DBG-DELTAS-SEARCH: uncompressed-delta-size=178121
365 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
366 DBG-DELTAS-SEARCH: DELTA: length=109064 (BAD)
367 DBG-DELTAS-SEARCH: CANDIDATE: rev=4930
368 DBG-DELTAS-SEARCH: type=snapshot-3
369 DBG-DELTAS-SEARCH: size=39228
370 DBG-DELTAS-SEARCH: base=4799
371 DBG-DELTAS-SEARCH: uncompressed-delta-size=33050
334 DBG-DELTAS-SEARCH: uncompressed-delta-size=33050
372 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
335 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
373 DBG-DELTAS-SEARCH: DELTA: length=19179 (GOOD)
336 DBG-DELTAS-SEARCH: DELTA: length=20146 (BAD)
374 DBG-DELTAS-SEARCH: ROUND #3 - 1 candidates - refine-down
337 DBG-DELTAS-SEARCH: CANDIDATE: rev=4982
375 DBG-DELTAS-SEARCH: CONTENDER: rev=4930 - length=19179
338 DBG-DELTAS-SEARCH: type=snapshot-3
376 DBG-DELTAS-SEARCH: CANDIDATE: rev=4799
339 DBG-DELTAS-SEARCH: size=24115
377 DBG-DELTAS-SEARCH: type=snapshot-2
340 DBG-DELTAS-SEARCH: base=4939
378 DBG-DELTAS-SEARCH: size=50213
341 DBG-DELTAS-SEARCH: uncompressed-delta-size=31169
379 DBG-DELTAS-SEARCH: base=4623
380 DBG-DELTAS-SEARCH: uncompressed-delta-size=82661
381 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
342 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
382 DBG-DELTAS-SEARCH: DELTA: length=49132 (BAD)
343 DBG-DELTAS-SEARCH: DELTA: length=18912 (GOOD)
383 DBG-DELTAS: FILELOG:SPARSE-REVLOG-TEST-FILE: rev=4971: delta-base=4930 is-cached=0 - search-rounds=3 try-count=6 - delta-type=snapshot snap-depth=4 - p1-chain-length=15 p2-chain-length=-1 - duration=* (glob)
344 DBG-DELTAS-SEARCH: ROUND #3 - 1 candidates - refine-down
345 DBG-DELTAS-SEARCH: CONTENDER: rev=4982 - length=18912
346 DBG-DELTAS-SEARCH: CANDIDATE: rev=4939
347 DBG-DELTAS-SEARCH: type=snapshot-2
348 DBG-DELTAS-SEARCH: size=85389
349 DBG-DELTAS-SEARCH: base=4591
350 DBG-DELTAS-SEARCH: uncompressed-delta-size=40376
351 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
352 DBG-DELTAS-SEARCH: DELTA: length=24686 (GOOD)
353 DBG-DELTAS: FILELOG:SPARSE-REVLOG-TEST-FILE: rev=4999: delta-base=4982 is-cached=0 - search-rounds=3 try-count=5 - delta-type=snapshot snap-depth=4 - p1-chain-length=15 p2-chain-length=-1 - duration=*.?????? (glob)
384 $ hg debug-delta-find SPARSE-REVLOG-TEST-FILE $LAST_SNAP --source prev
354 $ hg debug-delta-find SPARSE-REVLOG-TEST-FILE $LAST_SNAP --source prev
385 DBG-DELTAS-SEARCH: SEARCH rev=4971
355 DBG-DELTAS-SEARCH: SEARCH rev=4999
386 DBG-DELTAS-SEARCH: ROUND #1 - 3 candidates - search-down
356 DBG-DELTAS-SEARCH: ROUND #1 - 2 candidates - search-down
387 DBG-DELTAS-SEARCH: CANDIDATE: rev=4329
357 DBG-DELTAS-SEARCH: CANDIDATE: rev=4989
388 DBG-DELTAS-SEARCH: type=snapshot-4
389 DBG-DELTAS-SEARCH: size=13781
390 DBG-DELTAS-SEARCH: base=4325
391 DBG-DELTAS-SEARCH: uncompressed-delta-size=173765
392 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
393 DBG-DELTAS-SEARCH: DELTA: length=106516 (BAD)
394 DBG-DELTAS-SEARCH: CANDIDATE: rev=4335
395 DBG-DELTAS-SEARCH: type=snapshot-4
358 DBG-DELTAS-SEARCH: type=snapshot-4
396 DBG-DELTAS-SEARCH: size=14385
359 DBG-DELTAS-SEARCH: size=18293
397 DBG-DELTAS-SEARCH: base=4325
360 DBG-DELTAS-SEARCH: base=4982
398 DBG-DELTAS-SEARCH: uncompressed-delta-size=171587
361 DBG-DELTAS-SEARCH: uncompressed-delta-size=24239
399 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
400 DBG-DELTAS-SEARCH: DELTA: length=105187 (BAD)
401 DBG-DELTAS-SEARCH: CANDIDATE: rev=4962
402 DBG-DELTAS-SEARCH: type=snapshot-4
403 DBG-DELTAS-SEARCH: size=18296
404 DBG-DELTAS-SEARCH: base=4930
405 DBG-DELTAS-SEARCH: uncompressed-delta-size=30377
406 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
362 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
407 DBG-DELTAS-SEARCH: DELTA: length=16872 (BAD)
363 DBG-DELTAS-SEARCH: DELTA: length=14602 (BAD)
364 DBG-DELTAS-SEARCH: CANDIDATE: rev=4993
365 DBG-DELTAS-SEARCH: type=snapshot-4
366 DBG-DELTAS-SEARCH: size=18588
367 DBG-DELTAS-SEARCH: base=4982
368 DBG-DELTAS-SEARCH: uncompressed-delta-size=21665
369 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
370 DBG-DELTAS-SEARCH: DELTA: length=12983 (BAD)
408 DBG-DELTAS-SEARCH: ROUND #2 - 2 candidates - search-down
371 DBG-DELTAS-SEARCH: ROUND #2 - 2 candidates - search-down
409 DBG-DELTAS-SEARCH: CANDIDATE: rev=4325
372 DBG-DELTAS-SEARCH: CANDIDATE: rev=4951
410 DBG-DELTAS-SEARCH: type=snapshot-3
373 DBG-DELTAS-SEARCH: type=snapshot-3
411 DBG-DELTAS-SEARCH: size=17384
374 DBG-DELTAS-SEARCH: size=14295
412 DBG-DELTAS-SEARCH: base=4318
375 DBG-DELTAS-SEARCH: base=4939
413 DBG-DELTAS-SEARCH: uncompressed-delta-size=178121
414 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
415 DBG-DELTAS-SEARCH: DELTA: length=109064 (BAD)
416 DBG-DELTAS-SEARCH: CANDIDATE: rev=4930
417 DBG-DELTAS-SEARCH: type=snapshot-3
418 DBG-DELTAS-SEARCH: size=39228
419 DBG-DELTAS-SEARCH: base=4799
420 DBG-DELTAS-SEARCH: uncompressed-delta-size=33050
376 DBG-DELTAS-SEARCH: uncompressed-delta-size=33050
421 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
377 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
422 DBG-DELTAS-SEARCH: DELTA: length=19179 (GOOD)
378 DBG-DELTAS-SEARCH: DELTA: length=20146 (BAD)
379 DBG-DELTAS-SEARCH: CANDIDATE: rev=4982
380 DBG-DELTAS-SEARCH: type=snapshot-3
381 DBG-DELTAS-SEARCH: size=24115
382 DBG-DELTAS-SEARCH: base=4939
383 DBG-DELTAS-SEARCH: uncompressed-delta-size=31169
384 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
385 DBG-DELTAS-SEARCH: DELTA: length=18912 (GOOD)
423 DBG-DELTAS-SEARCH: ROUND #3 - 1 candidates - refine-down
386 DBG-DELTAS-SEARCH: ROUND #3 - 1 candidates - refine-down
424 DBG-DELTAS-SEARCH: CONTENDER: rev=4930 - length=19179
387 DBG-DELTAS-SEARCH: CONTENDER: rev=4982 - length=18912
425 DBG-DELTAS-SEARCH: CANDIDATE: rev=4799
388 DBG-DELTAS-SEARCH: CANDIDATE: rev=4939
426 DBG-DELTAS-SEARCH: type=snapshot-2
389 DBG-DELTAS-SEARCH: type=snapshot-2
427 DBG-DELTAS-SEARCH: size=50213
390 DBG-DELTAS-SEARCH: size=85389
428 DBG-DELTAS-SEARCH: base=4623
391 DBG-DELTAS-SEARCH: base=4591
429 DBG-DELTAS-SEARCH: uncompressed-delta-size=82661
392 DBG-DELTAS-SEARCH: uncompressed-delta-size=40376
430 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
393 DBG-DELTAS-SEARCH: delta-search-time=* (glob)
431 DBG-DELTAS-SEARCH: DELTA: length=49132 (BAD)
394 DBG-DELTAS-SEARCH: DELTA: length=24686 (GOOD)
432 DBG-DELTAS: FILELOG:SPARSE-REVLOG-TEST-FILE: rev=4971: delta-base=4930 is-cached=0 - search-rounds=3 try-count=6 - delta-type=snapshot snap-depth=4 - p1-chain-length=15 p2-chain-length=-1 - duration=* (glob)
395 DBG-DELTAS: FILELOG:SPARSE-REVLOG-TEST-FILE: rev=4999: delta-base=4982 is-cached=0 - search-rounds=3 try-count=5 - delta-type=snapshot snap-depth=4 - p1-chain-length=15 p2-chain-length=-1 - duration=*.?????? (glob)
433
396
434 $ cd ..
397 $ cd ..
General Comments 0
You need to be logged in to leave comments. Login now