|
76 | 76 | "expected":"1000"
|
77 | 77 | },
|
78 | 78 | {
|
79 |
| - "description" : "big value test {KeywordParameters}", |
| 79 | + "description" : "big value test 2 KB", |
80 | 80 | "MethodName": "big_value_test",
|
81 | 81 | "KeywordParameters": {
|
82 | 82 | "num_chars" : 2000
|
83 | 83 | },
|
84 | 84 | "expected": "2000"
|
85 | 85 | },
|
86 | 86 | {
|
87 |
| - "description" : "big value test {KeywordParameters}", |
| 87 | + "description" : "big value test 4 KB", |
88 | 88 | "MethodName": "big_value_test",
|
89 | 89 | "KeywordParameters": {
|
90 | 90 | "num_chars" : 4000
|
91 | 91 | },
|
92 | 92 | "expected": "4000"
|
93 | 93 | },
|
94 | 94 | {
|
95 |
| - "description" : "big value test {KeywordParameters}", |
| 95 | + "description" : "big value test 8 KB", |
96 | 96 | "MethodName": "big_value_test",
|
97 | 97 | "KeywordParameters": {
|
98 | 98 | "num_chars" : 8000
|
99 | 99 | },
|
100 | 100 | "expected": "8000"
|
101 | 101 | },
|
102 | 102 | {
|
103 |
| - "description" : "big value test {KeywordParameters}", |
| 103 | + "description" : "big value test 16 KB", |
104 | 104 | "MethodName": "big_value_test",
|
105 | 105 | "KeywordParameters": {
|
106 | 106 | "num_chars" : 16000
|
107 | 107 | },
|
108 | 108 | "expected": "16000"
|
109 | 109 | },
|
110 | 110 | {
|
111 |
| - "description" : "big value test 64 KB should {invert} with \"out of memory\" exception", |
| 111 | + "description" : "big value test 32 KB", |
| 112 | + "MethodName": "big_value_test", |
| 113 | + "KeywordParameters": { |
| 114 | + "num_chars" : 32000 |
| 115 | + }, |
| 116 | + "expected": "32000" |
| 117 | + }, |
| 118 | + { |
| 119 | + "description" : "big value test 64 KB should {invert} with WAMR \"out of memory\" exception", |
112 | 120 | "MethodName": "big_value_test",
|
113 | 121 | "KeywordParameters": {
|
114 | 122 | "num_chars" : 64000
|
115 | 123 | },
|
116 | 124 | "invert": "fail",
|
117 | 125 | "expected": "internal pdo error"
|
118 | 126 | },
|
| 127 | + { |
| 128 | + "description" : "big value test 128 KB should {invert} with WAMR \"out of memory\" exception", |
| 129 | + "MethodName": "big_value_test", |
| 130 | + "KeywordParameters": { |
| 131 | + "num_chars" : 128000 |
| 132 | + }, |
| 133 | + "invert": "fail", |
| 134 | + "expected": "internal pdo error" |
| 135 | + }, |
119 | 136 | {
|
120 | 137 | "description" : "deep recursion test {KeywordParameters}",
|
121 | 138 | "MethodName": "deep_recursion_test",
|
|
125 | 142 | "expected":"1000"
|
126 | 143 | },
|
127 | 144 | {
|
128 |
| - "description" : "big key test {KeywordParameters}", |
| 145 | + "description" : "big key test 2 KB", |
129 | 146 | "MethodName": "big_key_test",
|
130 | 147 | "KeywordParameters": {
|
131 | 148 | "num_chars" : 2000
|
132 | 149 | },
|
133 | 150 | "expected": "2000"
|
134 | 151 | },
|
135 | 152 | {
|
136 |
| - "description" : "big key test {KeywordParameters}", |
| 153 | + "description" : "big key test 4 KB", |
137 | 154 | "MethodName": "big_key_test",
|
138 | 155 | "KeywordParameters": {
|
139 | 156 | "num_chars" : 4000
|
140 | 157 | },
|
141 | 158 | "expected": "4000"
|
142 | 159 | },
|
143 | 160 | {
|
144 |
| - "description" : "big key test 32 KB should {invert} with \"out of memory\" exception", |
| 161 | + "description" : "big key test 8 KB", |
| 162 | + "MethodName": "big_key_test", |
| 163 | + "KeywordParameters": { |
| 164 | + "num_chars" : 8000 |
| 165 | + }, |
| 166 | + "expected": "8000" |
| 167 | + }, |
| 168 | + { |
| 169 | + "description" : "big key test 16 KB", |
| 170 | + "MethodName": "big_key_test", |
| 171 | + "KeywordParameters": { |
| 172 | + "num_chars" : 16000 |
| 173 | + }, |
| 174 | + "expected": "16000" |
| 175 | + }, |
| 176 | + { |
| 177 | + "description" : "big key test 32 KB should {invert} with WAMR \"out of memory\" exception", |
145 | 178 | "MethodName": "big_key_test",
|
146 | 179 | "KeywordParameters": {
|
147 | 180 | "num_chars" : 32000
|
|
150 | 183 | "expected": "internal pdo error"
|
151 | 184 | },
|
152 | 185 | {
|
153 |
| - "description" : "big key test 64 KB should {invert} with \"out of memory\" exception", |
| 186 | + "description" : "big key test 64 KB should {invert} with WAMR \"out of memory\" exception", |
154 | 187 | "MethodName": "big_key_test",
|
155 | 188 | "KeywordParameters": {
|
156 | 189 | "num_chars" : 64000
|
|
190 | 223 | },
|
191 | 224 | "expected": "4000"
|
192 | 225 | },
|
| 226 | + { |
| 227 | + "description" : "many keys test 8K", |
| 228 | + "MethodName": "many_keys_test", |
| 229 | + "KeywordParameters": { |
| 230 | + "num_keys" : 8000 |
| 231 | + }, |
| 232 | + "expected": "8000" |
| 233 | + }, |
| 234 | + { |
| 235 | + "description" : "many keys test 16K", |
| 236 | + "MethodName": "many_keys_test", |
| 237 | + "KeywordParameters": { |
| 238 | + "num_keys" : 16000 |
| 239 | + }, |
| 240 | + "expected": "16000" |
| 241 | + }, |
| 242 | + { |
| 243 | + "description" : "many keys test 32K", |
| 244 | + "MethodName": "many_keys_test", |
| 245 | + "KeywordParameters": { |
| 246 | + "num_keys" : 32000 |
| 247 | + }, |
| 248 | + "expected": "32000" |
| 249 | + }, |
| 250 | + { |
| 251 | + "description" : "many keys test 64K", |
| 252 | + "MethodName": "many_keys_test", |
| 253 | + "KeywordParameters": { |
| 254 | + "num_keys" : 64000 |
| 255 | + }, |
| 256 | + "expected": "64000" |
| 257 | + }, |
193 | 258 | {
|
194 | 259 | "description" : "deep recursion test {KeywordParameters}",
|
195 | 260 | "MethodName": "deep_recursion_test",
|
|
225 | 290 | },
|
226 | 291 | "expected": "100000"
|
227 | 292 | },
|
| 293 | + { |
| 294 | + "description" : "many KV pairs test 1K * 1K", |
| 295 | + "MethodName": "many_kv_pairs_test", |
| 296 | + "KeywordParameters": { |
| 297 | + "num_keys" : 1000, |
| 298 | + "num_chars" : 1000 |
| 299 | + }, |
| 300 | + "expected": "1000000" |
| 301 | + }, |
228 | 302 | {
|
229 | 303 | "description" : "deep recursion test {KeywordParameters}",
|
230 | 304 | "MethodName": "deep_recursion_test",
|
|
0 commit comments