Debian Codegraph @

test/command/suite/load/patricia_trie/bit_less_from_first_segment.test

raw
1 # This is too slow with HTTP chunked.
2 #@require-interface stdio
3
4 table_create --name Users --flags TABLE_PAT_KEY --key_type ShortText
5
6 # About data to load.
7 # 4,194,304 bytes per segment.
8 # 23 bytes per key.
9 # 4,194,304 / 23 = 182,361 with a remainder of 1.
10 # The data is a bit less from the first segment.
11 #@timeout 400
12 #@disable-logging
13 #@generate-series 1 182361 Users '{"_key" => "User%019d" % i}'
14 #@enable-logging
15 #@timeout default
16
17 object_inspect Users