test/command/suite/load/patricia_trie/use_first_segment_in_full.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 | # 16 bytes per key. |
| 9 | # 4,194,304 / 16 = 262,144. |
| 10 | # This is data that uses the full segment. |
| 11 | #@timeout 400 |
| 12 | #@disable-logging |
| 13 | #@generate-series 1 262144 Users '{"_key" => "User%012d" % i}' |
| 14 | #@enable-logging |
| 15 | #@timeout default |
| 16 | |
| 17 | object_inspect Users |