Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Concurrency test
request 1 of 1: 0.10s
request 7 of 10: 0.42s
request 2 of 10: 0.44s
request 10 of 10: 0.47s
request 4 of 10: 0.50s
request 5 of 10: 0.51s
request 3 of 10: 0.52s
request 9 of 10: 0.54s
request 8 of 10: 0.60s
request 1 of 10: 0.66s
request 6 of 10: 0.69s
request 5 of 100: 0.55s
request 8 of 100: 0.59s
request 7 of 100: 0.60s
request 9 of 100: 0.62s
request 12 of 100: 0.68s
request 16 of 100: 0.98s
request 19 of 100: 0.95s
request 21 of 100: 0.97s
request 22 of 100: 1.02s
request 20 of 100: 1.06s
request 30 of 100: 1.36s
request 23 of 100: 1.44s
request 6 of 100: 1.60s
request 32 of 100: 1.39s
request 33 of 100: 1.42s
request 34 of 100: 1.44s
request 36 of 100: 1.44s
request 29 of 100: 1.58s
request 26 of 100: 1.72s
request 13 of 100: 2.78s
request 14 of 100: 2.81s
request 28 of 100: 2.66s
request 31 of 100: 2.64s
request 43 of 100: 2.47s
request 1 of 100: 2.83s
request 17 of 100: 2.81s
request 35 of 100: 2.26s
request 45 of 100: 2.47s
request 24 of 100: 2.74s
request 3 of 100: 2.86s
request 10 of 100: 2.44s
request 40 of 100: 2.56s
request 2 of 100: 2.87s
request 15 of 100: 2.84s
request 11 of 100: 2.86s
request 54 of 100: 2.16s
request 44 of 100: 2.51s
request 41 of 100: 2.56s
request 53 of 100: 2.17s
request 18 of 100: 2.84s
request 37 of 100: 2.62s
request 57 of 100: 2.14s
request 38 of 100: 2.43s
request 68 of 100: 2.00s
request 62 of 100: 2.10s
request 73 of 100: 1.81s
request 52 of 100: 2.20s
request 4 of 100: 2.92s
request 39 of 100: 2.62s
request 50 of 100: 2.20s
request 74 of 100: 1.82s
request 61 of 100: 2.15s
request 27 of 100: 2.83s
request 58 of 100: 2.23s
request 25 of 100: 2.91s
request 56 of 100: 2.31s
request 72 of 100: 2.01s
request 51 of 100: 2.40s
request 48 of 100: 2.44s
request 64 of 100: 2.29s
request 60 of 100: 2.39s
request 63 of 100: 2.39s
request 46 of 100: 2.56s
request 59 of 100: 2.44s
request 69 of 100: 2.25s
request 49 of 100: 2.77s
request 83 of 100: 2.26s
request 87 of 100: 2.21s
request 89 of 100: 2.18s
request 77 of 100: 2.35s
request 78 of 100: 2.37s
request 91 of 100: 2.23s
request 97 of 100: 1.93s
request 95 of 100: 1.99s
request 47 of 100: 2.90s
request 76 of 100: 2.46s
request 70 of 100: 2.54s
request 55 of 100: 2.90s
request 75 of 100: 2.53s
request 82 of 100: 2.47s
request 92 of 100: 1.79s
request 86 of 100: 2.47s
request 96 of 100: 2.15s
request 81 of 100: 2.10s
request 85 of 100: 2.52s
request 80 of 100: 2.70s
request 88 of 100: 2.61s
request 42 of 100: 3.54s
request 93 of 100: 2.62s
request 66 of 100: 3.06s
request 99 of 100: 2.36s
request 65 of 100: 3.13s
request 98 of 100: 2.39s
request 71 of 100: 2.94s
request 84 of 100: 2.83s
request 94 of 100: 2.68s
request 67 of 100: 3.19s
request 90 of 100: 2.81s
request 100 of 100: 2.18s
request 79 of 100: 3.01s
request 14 of 500: 0.73s
request 5 of 500: 0.76s
request 9 of 500: 0.75s
request 6 of 500: 0.76s
request 2 of 500: 0.94s
request 1 of 500: 0.91s
request 10 of 500: 1.06s
request 22 of 500: 0.96s
request 18 of 500: 1.01s
request 30 of 500: 1.06s
request 34 of 500: 1.01s
request 24 of 500: 1.13s
request 20 of 500: 1.17s
request 43 of 500: 0.95s
request 38 of 500: 1.04s
request 37 of 500: 1.18s
request 28 of 500: 1.48s
request 48 of 500: 1.65s
request 29 of 500: 1.88s
request 3 of 500: 2.26s
request 13 of 500: 2.25s
request 50 of 500: 1.87s
request 49 of 500: 1.89s
request 4 of 500: 2.28s
request 46 of 500: 2.14s
request 55 of 500: 2.09s
request 7 of 500: 2.54s
request 19 of 500: 2.61s
request 44 of 500: 2.39s
request 8 of 500: 2.73s
request 52 of 500: 2.31s
request 11 of 500: 2.79s
request 36 of 500: 2.61s
request 32 of 500: 2.73s
request 62 of 500: 2.41s
request 16 of 500: 2.90s
request 58 of 500: 2.46s
request 17 of 500: 2.40s
request 21 of 500: 2.92s
request 31 of 500: 2.88s
request 60 of 500: 2.67s
request 12 of 500: 3.15s
request 68 of 500: 3.07s
request 70 of 500: 3.09s
request 51 of 500: 3.34s
request 42 of 500: 3.45s
request 66 of 500: 3.14s
request 75 of 500: 3.00s
request 61 of 500: 3.49s
request 35 of 500: 3.75s
request 41 of 500: 3.71s
request 45 of 500: 2.89s
request 47 of 500: 2.90s
request 54 of 500: 3.60s
request 53 of 500: 3.67s
request 26 of 500: 3.96s
request 65 of 500: 3.65s
request 69 of 500: 3.56s
request 59 of 500: 3.73s
request 23 of 500: 3.21s
request 15 of 500: 4.33s
request 67 of 500: 3.90s
request 25 of 500: 4.44s
request 33 of 500: 3.42s
request 39 of 500: 4.28s
request 57 of 500: 3.26s
request 77 of 500: 3.37s
request 78 of 500: 3.37s
request 63 of 500: 4.34s
request 64 of 500: 4.37s
request 82 of 500: 3.39s
request 27 of 500: 4.80s
request 79 of 500: 3.47s
request 87 of 500: 3.42s
request 84 of 500: 3.60s
request 95 of 500: 3.51s
request 94 of 500: 3.68s
request 83 of 500: 3.80s
request 86 of 500: 3.80s
request 40 of 500: 4.91s
request 96 of 500: 3.89s
request 98 of 500: 3.87s
request 76 of 500: 4.07s
request 99 of 500: 3.90s
request 92 of 500: 4.09s
request 104 of 500: 3.91s
request 100 of 500: 4.05s
request 73 of 500: 4.17s
request 71 of 500: 5.53s
request 103 of 500: 4.47s
request 91 of 500: 4.67s
request 93 of 500: 4.46s
request 105 of 500: 4.46s
request 112 of 500: 4.34s
request 109 of 500: 4.40s
request 74 of 500: 5.31s
request 90 of 500: 4.72s
request 85 of 500: 4.52s
request 72 of 500: 5.37s
request 81 of 500: 4.57s
request 107 of 500: 4.75s
request 89 of 500: 4.83s
request 56 of 500: 6.36s
request 111 of 500: 4.87s
request 88 of 500: 5.23s
request 123 of 500: 4.72s
request 116 of 500: 4.81s
request 113 of 500: 4.91s
request 119 of 500: 4.82s
request 125 of 500: 4.75s
request 130 of 500: 4.66s
request 129 of 500: 4.76s
request 131 of 500: 4.71s
request 97 of 500: 5.31s
request 132 of 500: 4.78s
request 133 of 500: 4.75s
request 106 of 500: 5.20s
request 110 of 500: 5.19s
request 80 of 500: 5.66s
request 108 of 500: 5.33s
request 101 of 500: 5.47s
request 136 of 500: 4.89s
request 126 of 500: 5.16s
request 122 of 500: 5.24s
request 102 of 500: 5.63s
request 127 of 500: 5.50s
request 141 of 500: 5.25s
request 114 of 500: 5.97s
request 145 of 500: 5.27s
request 124 of 500: 5.91s
request 140 of 500: 5.33s
request 144 of 500: 5.29s
request 118 of 500: 5.90s
request 137 of 500: 5.61s
request 128 of 500: 6.08s
request 139 of 500: 5.58s
request 120 of 500: 6.19s
request 143 of 500: 5.57s
request 142 of 500: 5.59s
request 152 of 500: 5.46s
request 115 of 500: 6.35s
request 146 of 500: 5.60s
request 154 of 500: 5.45s
request 150 of 500: 5.80s
request 156 of 500: 5.57s
request 138 of 500: 5.99s
request 161 of 500: 5.60s
request 157 of 500: 5.62s
request 134 of 500: 6.28s
request 160 of 500: 5.80s
request 117 of 500: 6.95s
request 151 of 500: 6.15s
request 163 of 500: 6.07s
request 135 of 500: 6.89s
request 167 of 500: 6.41s
request 168 of 500: 6.38s
request 209 of 500: 5.37s
request 178 of 500: 7.36s
request 147 of 500: 7.86s
request 180 of 500: 7.36s
request 175 of 500: 7.41s
request 149 of 500: 7.93s
request 172 of 500: 7.56s
request 169 of 500: 7.57s
request 179 of 500: 7.55s
request 165 of 500: 7.97s
request 194 of 500: 7.43s
request 185 of 500: 7.69s
request 166 of 500: 7.75s
request 155 of 500: 8.07s
request 198 of 500: 7.35s
request 200 of 500: 7.32s
request 187 of 500: 7.61s
request 188 of 500: 7.60s
request 159 of 500: 8.05s
request 193 of 500: 7.60s
request 184 of 500: 7.88s
request 190 of 500: 7.72s
request 181 of 500: 7.96s
request 173 of 500: 8.06s
request 153 of 500: 8.26s
request 195 of 500: 7.57s
request 162 of 500: 8.20s
request 199 of 500: 7.28s
request 164 of 500: 8.36s
request 186 of 500: 8.09s
request 174 of 500: 8.45s
request 205 of 500: 7.62s
request 158 of 500: 8.63s
request 206 of 500: 7.67s
request 189 of 500: 8.25s
request 177 of 500: 8.54s
request 182 of 500: 8.45s
request 171 of 500: 8.72s
request 192 of 500: 8.34s
request 202 of 500: 7.92s
request 201 of 500: 7.92s
request 210 of 500: 7.68s
request 197 of 500: 8.31s
request 212 of 500: 7.72s
request 170 of 500: 8.91s
request 216 of 500: 7.72s
request 215 of 500: 7.83s
request 211 of 500: 7.94s
request 207 of 500: 8.14s
request 121 of 500: 9.67s
request 196 of 500: 8.54s
request 214 of 500: 7.94s
request 204 of 500: 8.28s
request 213 of 500: 8.03s
request 203 of 500: 8.33s
request 234 of 500: 7.69s
request 225 of 500: 7.75s
request 227 of 500: 7.74s
request 176 of 500: 8.97s
request 183 of 500: 9.03s
request 232 of 500: 7.71s
request 208 of 500: 8.13s
request 226 of 500: 7.85s
request 238 of 500: 7.90s
request 233 of 500: 7.95s
request 231 of 500: 8.06s
request 219 of 500: 8.19s
request 236 of 500: 8.16s
request 222 of 500: 8.26s
request 239 of 500: 8.29s
request 223 of 500: 8.44s
request 148 of 500: 10.26s
request 242 of 500: 8.48s
request 191 of 500: 9.03s
request 244 of 500: 8.47s
request 217 of 500: 8.88s
request 249 of 500: 8.33s
request 241 of 500: 8.53s
request 235 of 500: 8.60s
request 252 of 500: 8.30s
request 253 of 500: 8.30s
request 230 of 500: 8.33s
request 220 of 500: 8.84s
request 251 of 500: 8.46s
request 257 of 500: 8.35s
request 228 of 500: 8.87s
request 250 of 500: 8.61s
request 264 of 500: 8.40s
request 260 of 500: 8.53s
request 247 of 500: 8.87s
request 255 of 500: 8.65s
request 243 of 500: 8.94s
request 267 of 500: 8.49s
request 268 of 500: 8.48s
request 269 of 500: 8.47s
request 224 of 500: 9.11s
request 221 of 500: 9.12s
request 245 of 500: 8.66s
request 258 of 500: 8.64s
request 262 of 500: 8.48s
request 237 of 500: 9.06s
request 265 of 500: 8.62s
request 229 of 500: 9.25s
request 275 of 500: 8.51s
request 248 of 500: 9.11s
request 276 of 500: 8.48s
request 218 of 500: 9.53s
request 277 of 500: 8.47s
request 280 of 500: 8.48s
request 256 of 500: 8.98s
request 284 of 500: 8.43s
request 290 of 500: 8.26s
request 273 of 500: 8.63s
request 292 of 500: 8.20s
request 288 of 500: 8.37s
request 298 of 500: 8.07s
request 263 of 500: 8.82s
request 302 of 500: 7.93s
request 301 of 500: 7.93s
request 261 of 500: 8.86s
request 279 of 500: 8.51s
request 287 of 500: 8.40s
request 254 of 500: 8.98s
request 240 of 500: 9.24s
request 272 of 500: 8.65s
request 303 of 500: 7.93s
request 296 of 500: 8.14s
request 306 of 500: 7.91s
request 283 of 500: 8.48s
request 274 of 500: 8.62s
request 286 of 500: 8.42s
request 271 of 500: 8.14s
request 300 of 500: 8.06s
request 285 of 500: 8.44s
request 246 of 500: 9.22s
request 291 of 500: 8.26s
request 282 of 500: 8.50s
request 311 of 500: 7.79s
request 310 of 500: 7.85s
request 314 of 500: 7.79s
request 259 of 500: 8.96s
request 289 of 500: 8.33s
request 294 of 500: 8.23s
request 309 of 500: 7.77s
request 297 of 500: 8.02s
request 317 of 500: 7.76s
request 304 of 500: 7.93s
request 316 of 500: 7.76s
request 320 of 500: 7.76s
request 321 of 500: 7.68s
request 278 of 500: 8.68s
request 295 of 500: 8.31s
request 307 of 500: 8.10s
request 324 of 500: 7.66s
request 328 of 500: 7.64s
request 323 of 500: 7.67s
request 313 of 500: 7.97s
request 327 of 500: 7.67s
request 266 of 500: 8.94s
request 329 of 500: 7.65s
request 335 of 500: 7.45s
request 336 of 500: 7.35s
request 322 of 500: 7.71s
request 333 of 500: 7.52s
request 299 of 500: 7.99s
request 305 of 500: 8.15s
request 334 of 500: 7.53s
request 308 of 500: 8.15s
request 341 of 500: 7.30s
request 326 of 500: 7.71s
request 319 of 500: 7.90s
request 343 of 500: 7.27s
request 350 of 500: 7.17s
request 347 of 500: 7.22s
request 338 of 500: 7.16s
request 353 of 500: 7.18s
request 293 of 500: 8.56s
request 312 of 500: 8.17s
request 348 of 500: 7.35s
request 354 of 500: 7.46s
request 318 of 500: 8.28s
request 349 of 500: 7.57s
request 281 of 500: 9.18s
request 342 of 500: 7.71s
request 315 of 500: 8.35s
request 331 of 500: 8.13s
request 332 of 500: 7.76s
request 361 of 500: 7.22s
request 356 of 500: 7.55s
request 379 of 500: 7.01s
request 325 of 500: 8.26s
request 352 of 500: 7.73s
request 330 of 500: 8.29s
request 359 of 500: 7.36s
request 362 of 500: 7.35s
request 368 of 500: 7.29s
request 364 of 500: 7.33s
request 366 of 500: 7.38s
request 375 of 500: 7.23s
request 378 of 500: 7.21s
request 270 of 500: 9.13s
request 346 of 500: 7.94s
request 351 of 500: 7.37s
request 376 of 500: 7.30s
request 358 of 500: 7.58s
request 386 of 500: 7.19s
request 388 of 500: 7.24s
request 382 of 500: 7.29s
request 393 of 500: 7.14s
request 339 of 500: 7.64s
request 381 of 500: 7.36s
request 374 of 500: 7.48s
request 377 of 500: 7.47s
request 360 of 500: 8.08s
request 367 of 500: 8.23s
request 387 of 500: 7.97s
request 337 of 500: 9.01s
request 344 of 500: 8.98s
request 401 of 500: 7.90s
request 373 of 500: 8.36s
request 405 of 500: 7.85s
request 357 of 500: 8.82s
request 370 of 500: 8.42s
request 355 of 500: 8.89s
request 407 of 500: 7.88s
request 380 of 500: 8.33s
request 397 of 500: 8.03s
request 392 of 500: 8.02s
request 396 of 500: 8.06s
request 340 of 500: 9.23s
request 385 of 500: 8.29s
request 372 of 500: 7.86s
request 422 of 500: 7.57s
request 421 of 500: 7.63s
request 391 of 500: 8.18s
request 395 of 500: 8.14s
request 408 of 500: 7.95s
request 412 of 500: 7.87s
request 390 of 500: 8.26s
request 403 of 500: 8.08s
request 425 of 500: 7.60s
request 400 of 500: 8.15s
request 411 of 500: 7.94s
request 371 of 500: 8.63s
request 414 of 500: 7.89s
request 410 of 500: 7.98s
request 429 of 500: 7.56s
request 399 of 500: 8.20s
request 413 of 500: 7.94s
request 418 of 500: 7.83s
request 404 of 500: 8.15s
request 365 of 500: 8.75s
request 431 of 500: 7.57s
request 423 of 500: 7.74s
request 398 of 500: 8.25s
request 402 of 500: 8.23s
request 389 of 500: 8.43s
request 436 of 500: 7.52s
request 417 of 500: 7.92s
request 409 of 500: 8.11s
request 457 of 500: 7.00s
request 466 of 500: 6.87s
request 438 of 500: 7.53s
request 426 of 500: 7.75s
request 447 of 500: 7.13s
request 453 of 500: 6.85s
request 363 of 500: 8.90s
request 445 of 500: 7.17s
request 428 of 500: 7.78s
request 420 of 500: 8.01s
request 384 of 500: 8.68s
request 440 of 500: 7.60s
request 442 of 500: 7.26s
request 454 of 500: 7.15s
request 455 of 500: 7.15s
request 383 of 500: 8.75s
request 432 of 500: 7.77s
request 439 of 500: 7.66s
request 443 of 500: 7.28s
request 394 of 500: 8.53s
request 345 of 500: 9.60s
request 441 of 500: 7.67s
request 437 of 500: 7.75s
request 424 of 500: 8.01s
request 448 of 500: 7.30s
request 476 of 500: 6.96s
request 434 of 500: 7.84s
request 446 of 500: 7.36s
request 450 of 500: 7.33s
request 452 of 500: 7.33s
request 462 of 500: 7.20s
request 474 of 500: 7.04s
request 469 of 500: 7.13s
request 492 of 500: 6.80s
request 470 of 500: 7.13s
request 415 of 500: 7.43s
request 451 of 500: 7.39s
request 477 of 500: 7.04s
request 475 of 500: 7.10s
request 496 of 500: 6.78s
request 458 of 500: 7.13s
request 473 of 500: 7.12s
request 433 of 500: 7.98s
request 478 of 500: 7.08s
request 486 of 500: 6.99s
request 484 of 500: 7.01s
request 471 of 500: 7.21s
request 493 of 500: 6.90s
request 479 of 500: 7.12s
request 427 of 500: 8.17s
request 495 of 500: 6.90s
request 487 of 500: 7.04s
request 464 of 500: 7.40s
request 494 of 500: 6.94s
request 500 of 500: 6.87s
request 463 of 500: 7.42s
request 449 of 500: 7.60s
request 481 of 500: 7.18s
request 472 of 500: 7.32s
request 456 of 500: 7.55s
request 369 of 500: 9.34s
request 489 of 500: 7.08s
request 406 of 500: 8.78s
request 483 of 500: 7.21s
request 485 of 500: 6.98s
request 416 of 500: 8.56s
request 419 of 500: 8.53s
request 498 of 500: 6.99s
request 482 of 500: 7.26s
request 499 of 500: 6.98s
request 430 of 500: 8.29s
request 459 of 500: 7.59s
request 480 of 500: 7.32s
request 461 of 500: 7.59s
request 460 of 500: 7.68s
request 468 of 500: 7.53s
request 491 of 500: 7.19s
request 465 of 500: 7.59s
request 435 of 500: 8.29s
request 488 of 500: 7.25s
request 467 of 500: 7.60s
request 444 of 500: 7.87s
request 490 of 500: 7.28s
request 497 of 500: 6.59s
echo "if curl https://admin:[PASSWORD-REMOVED]@rest.ably.io:8090/apps/1WChTA/stats?limit=10 --compressed -s --fail > /dev/null;
then
echo Success
else
echo Fail
fi
" > ~/admintest.sh
chmod +x ~/admintest.sh
COUNT=500 # used values 1, 10, 100, 500
for i in {1..500}
do
/usr/bin/time -a -o ~/results-admin-api.txt -f "request $i of $COUNT: %es" ~/admintest.sh &
done
request 1 of 1: 0.09s
request 4 of 10: 0.19s
request 5 of 10: 0.19s
request 9 of 10: 0.19s
request 2 of 10: 0.19s
request 7 of 10: 0.20s
request 3 of 10: 0.20s
request 10 of 10: 0.21s
request 8 of 10: 0.23s
request 1 of 10: 0.23s
request 6 of 10: 0.39s
request 5 of 100: 0.39s
request 8 of 100: 0.39s
request 12 of 100: 0.41s
request 11 of 100: 0.43s
request 18 of 100: 0.43s
request 23 of 100: 0.40s
request 24 of 100: 0.42s
request 3 of 100: 0.56s
request 13 of 100: 0.55s
request 17 of 100: 0.54s
request 28 of 100: 0.48s
request 4 of 100: 0.71s
request 6 of 100: 0.77s
request 7 of 100: 0.84s
request 1 of 100: 0.82s
request 22 of 100: 0.87s
request 21 of 100: 0.56s
request 19 of 100: 0.92s
request 2 of 100: 0.99s
request 27 of 100: 0.90s
request 25 of 100: 0.95s
request 15 of 100: 1.03s
request 31 of 100: 0.59s
request 29 of 100: 0.62s
request 34 of 100: 0.59s
request 30 of 100: 0.62s
request 32 of 100: 0.68s
request 40 of 100: 0.63s
request 26 of 100: 1.12s
request 42 of 100: 0.65s
request 51 of 100: 0.60s
request 46 of 100: 0.65s
request 50 of 100: 0.65s
request 14 of 100: 1.32s
request 54 of 100: 0.57s
request 38 of 100: 0.83s
request 10 of 100: 1.38s
request 35 of 100: 0.87s
request 52 of 100: 0.65s
request 53 of 100: 0.63s
request 59 of 100: 0.55s
request 16 of 100: 1.38s
request 63 of 100: 0.54s
request 64 of 100: 0.51s
request 48 of 100: 0.84s
request 69 of 100: 0.49s
request 33 of 100: 1.04s
request 67 of 100: 0.50s
request 74 of 100: 0.44s
request 66 of 100: 0.56s
request 44 of 100: 0.99s
request 55 of 100: 0.90s
request 45 of 100: 1.02s
request 36 of 100: 1.12s
request 49 of 100: 1.02s
request 73 of 100: 0.62s
request 58 of 100: 0.45s
request 61 of 100: 0.95s
request 65 of 100: 0.92s
request 41 of 100: 0.72s
request 47 of 100: 1.30s
request 71 of 100: 0.95s
request 39 of 100: 1.50s
request 72 of 100: 0.94s
request 77 of 100: 0.51s
request 68 of 100: 1.08s
request 80 of 100: 0.54s
request 78 of 100: 0.56s
request 70 of 100: 1.09s
request 84 of 100: 0.53s
request 43 of 100: 1.53s
request 82 of 100: 0.56s
request 90 of 100: 0.48s
request 93 of 100: 0.45s
request 95 of 100: 0.42s
request 62 of 100: 1.29s
request 60 of 100: 1.32s
request 100 of 100: 0.39s
request 99 of 100: 0.46s
request 57 of 100: 1.47s
request 91 of 100: 0.58s
request 89 of 100: 0.63s
request 9 of 100: 2.33s
request 79 of 100: 0.75s
request 94 of 100: 0.60s
request 87 of 100: 0.69s
request 96 of 100: 0.58s
request 75 of 100: 1.20s
request 20 of 100: 2.30s
request 97 of 100: 0.60s
request 83 of 100: 0.78s
request 92 of 100: 0.55s
request 56 of 100: 1.63s
request 88 of 100: 0.74s
request 81 of 100: 0.82s
request 98 of 100: 0.63s
request 86 of 100: 0.80s
request 76 of 100: 0.86s
request 85 of 100: 0.84s
request 37 of 100: 2.47s
request 6 of 500: 0.47s
request 5 of 500: 0.49s
request 8 of 500: 0.55s
request 4 of 500: 0.55s
request 1 of 500: 0.57s
request 11 of 500: 0.55s
request 18 of 500: 0.56s
request 16 of 500: 0.57s
request 19 of 500: 0.54s
request 20 of 500: 0.55s
request 14 of 500: 0.62s
request 25 of 500: 0.59s
request 24 of 500: 0.61s
request 28 of 500: 0.58s
request 35 of 500: 1.12s
request 23 of 500: 1.26s
request 32 of 500: 1.16s
request 43 of 500: 1.02s
request 49 of 500: 0.92s
request 37 of 500: 1.10s
request 52 of 500: 0.87s
request 47 of 500: 0.95s
request 9 of 500: 1.37s
request 42 of 500: 1.05s
request 57 of 500: 0.78s
request 22 of 500: 1.29s
request 56 of 500: 0.80s
request 55 of 500: 0.82s
request 44 of 500: 1.04s
request 46 of 500: 1.04s
request 53 of 500: 0.91s
request 3 of 500: 1.44s
request 29 of 500: 1.29s
request 26 of 500: 1.33s
request 54 of 500: 0.90s
request 13 of 500: 1.46s
request 27 of 500: 1.37s
request 15 of 500: 1.50s
request 30 of 500: 1.38s
request 39 of 500: 1.24s
request 48 of 500: 1.20s
request 2 of 500: 1.70s
request 61 of 500: 1.13s
request 33 of 500: 1.62s
request 17 of 500: 1.09s
request 12 of 500: 1.88s
request 40 of 500: 1.59s
request 51 of 500: 1.44s
request 67 of 500: 0.98s
request 21 of 500: 1.82s
request 58 of 500: 1.30s
request 79 of 500: 0.86s
request 82 of 500: 0.85s
request 76 of 500: 0.94s
request 81 of 500: 0.90s
request 64 of 500: 1.33s
request 69 of 500: 1.10s
request 31 of 500: 1.88s
request 41 of 500: 1.82s
request 74 of 500: 1.08s
request 7 of 500: 2.12s
request 97 of 500: 0.63s
request 73 of 500: 1.19s
request 63 of 500: 1.50s
request 98 of 500: 0.64s
request 45 of 500: 1.89s
request 70 of 500: 1.33s
request 65 of 500: 1.60s
request 77 of 500: 1.26s
request 71 of 500: 1.37s
request 66 of 500: 1.46s
request 101 of 500: 0.62s
request 60 of 500: 1.28s
request 94 of 500: 0.87s
request 86 of 500: 1.23s
request 50 of 500: 0.42s
request 99 of 500: 0.75s
request 62 of 500: 1.73s
request 105 of 500: 0.61s
request 72 of 500: 1.46s
request 34 of 500: 1.53s
request 38 of 500: 2.20s
request 80 of 500: 1.37s
request 92 of 500: 1.19s
request 68 of 500: 1.54s
request 91 of 500: 1.22s
request 89 of 500: 1.26s
request 93 of 500: 1.22s
request 95 of 500: 0.98s
request 10 of 500: 1.80s
request 85 of 500: 1.37s
request 102 of 500: 0.84s
request 83 of 500: 1.44s
request 106 of 500: 0.86s
request 107 of 500: 0.80s
request 78 of 500: 1.59s
request 87 of 500: 1.47s
request 96 of 500: 1.16s
request 100 of 500: 1.06s
request 36 of 500: 2.54s
request 75 of 500: 0.73s
request 90 of 500: 0.62s
request 108 of 500: 0.41s
request 116 of 500: 0.37s
request 115 of 500: 0.39s
request 119 of 500: 0.36s
request 88 of 500: 0.93s
request 114 of 500: 0.49s
request 121 of 500: 0.41s
request 59 of 500: 2.45s
request 120 of 500: 0.44s
request 84 of 500: 1.87s
request 103 of 500: 1.34s
request 109 of 500: 0.67s
request 112 of 500: 0.67s
request 110 of 500: 0.67s
request 128 of 500: 0.40s
request 131 of 500: 0.37s
request 124 of 500: 0.47s
request 104 of 500: 1.43s
request 138 of 500: 0.36s
request 117 of 500: 0.78s
request 135 of 500: 0.34s
request 129 of 500: 0.58s
request 137 of 500: 0.31s
request 125 of 500: 0.67s
request 134 of 500: 0.56s
request 133 of 500: 0.57s
request 132 of 500: 0.58s
request 118 of 500: 0.86s
request 139 of 500: 0.24s
request 123 of 500: 0.71s
request 111 of 500: 0.95s
request 130 of 500: 0.38s
request 141 of 500: 0.32s
request 122 of 500: 0.87s
request 127 of 500: 0.59s
request 126 of 500: 1.00s
request 146 of 500: 0.54s
request 148 of 500: 0.55s
request 153 of 500: 0.54s
request 150 of 500: 0.58s
request 136 of 500: 0.84s
request 151 of 500: 0.58s
request 140 of 500: 0.86s
request 113 of 500: 1.56s
request 165 of 500: 0.57s
request 167 of 500: 0.58s
request 166 of 500: 0.63s
request 168 of 500: 0.61s
request 170 of 500: 0.47s
request 175 of 500: 0.48s
request 171 of 500: 0.49s
request 174 of 500: 0.46s
request 172 of 500: 0.50s
request 156 of 500: 0.78s
request 169 of 500: 0.63s
request 145 of 500: 0.92s
request 144 of 500: 0.92s
request 182 of 500: 0.49s
request 147 of 500: 0.95s
request 186 of 500: 0.44s
request 154 of 500: 0.97s
request 149 of 500: 1.06s
request 173 of 500: 0.71s
request 160 of 500: 0.97s
request 178 of 500: 0.67s
request 158 of 500: 1.03s
request 161 of 500: 1.03s
request 157 of 500: 1.08s
request 162 of 500: 1.07s
request 176 of 500: 0.81s
request 184 of 500: 0.72s
request 143 of 500: 1.29s
request 183 of 500: 0.78s
request 190 of 500: 0.34s
request 188 of 500: 0.38s
request 192 of 500: 0.34s
request 181 of 500: 0.35s
request 193 of 500: 0.37s
request 142 of 500: 0.92s
request 179 of 500: 0.63s
request 194 of 500: 0.20s
request 163 of 500: 1.34s
request 191 of 500: 0.56s
request 189 of 500: 0.32s
request 198 of 500: 0.23s
request 200 of 500: 0.24s
request 152 of 500: 1.50s
request 164 of 500: 0.85s
request 159 of 500: 0.90s
request 155 of 500: 1.58s
request 187 of 500: 0.74s
request 185 of 500: 1.21s
request 197 of 500: 0.48s
request 196 of 500: 0.48s
request 177 of 500: 1.35s
request 201 of 500: 0.38s
request 195 of 500: 0.57s
request 208 of 500: 0.29s
request 209 of 500: 0.30s
request 204 of 500: 0.35s
request 217 of 500: 0.23s
request 214 of 500: 0.24s
request 202 of 500: 0.39s
request 210 of 500: 0.30s
request 213 of 500: 0.30s
request 203 of 500: 0.55s
request 211 of 500: 0.54s
request 215 of 500: 0.53s
request 220 of 500: 0.34s
request 225 of 500: 0.27s
request 206 of 500: 0.66s
request 223 of 500: 0.33s
request 229 of 500: 0.25s
request 199 of 500: 0.77s
request 222 of 500: 0.36s
request 221 of 500: 0.38s
request 207 of 500: 0.69s
request 230 of 500: 0.38s
request 212 of 500: 0.72s
request 219 of 500: 0.54s
request 216 of 500: 0.70s
request 224 of 500: 0.49s
request 233 of 500: 0.17s
request 218 of 500: 0.56s
request 234 of 500: 0.18s
request 228 of 500: 0.46s
request 180 of 500: 1.97s
request 231 of 500: 0.48s
request 226 of 500: 0.60s
request 241 of 500: 0.23s
request 239 of 500: 0.24s
request 237 of 500: 0.28s
request 238 of 500: 0.28s
request 205 of 500: 1.10s
request 227 of 500: 0.72s
request 250 of 500: 0.18s
request 242 of 500: 0.38s
request 235 of 500: 0.42s
request 236 of 500: 0.42s
request 247 of 500: 0.26s
request 243 of 500: 0.32s
request 253 of 500: 0.23s
request 248 of 500: 0.29s
request 244 of 500: 0.47s
request 252 of 500: 0.30s
request 249 of 500: 0.30s
request 246 of 500: 0.36s
request 251 of 500: 0.20s
request 245 of 500: 0.38s
request 254 of 500: 0.12s
request 232 of 500: 0.69s
request 240 of 500: 0.87s
request 263 of 500: 0.43s
request 264 of 500: 0.50s
request 278 of 500: 0.55s
request 258 of 500: 0.72s
request 273 of 500: 0.61s
request 276 of 500: 0.59s
request 281 of 500: 0.57s
request 283 of 500: 0.58s
request 293 of 500: 0.61s
request 259 of 500: 0.95s
request 302 of 500: 0.52s
request 292 of 500: 0.67s
request 294 of 500: 0.65s
request 255 of 500: 1.07s
request 270 of 500: 0.94s
request 303 of 500: 0.55s
request 267 of 500: 0.57s
request 291 of 500: 0.76s
request 268 of 500: 1.03s
request 307 of 500: 0.58s
request 311 of 500: 0.54s
request 299 of 500: 0.70s
request 275 of 500: 1.02s
request 309 of 500: 0.59s
request 261 of 500: 1.15s
request 279 of 500: 1.01s
request 286 of 500: 0.97s
request 287 of 500: 1.02s
request 288 of 500: 1.00s
request 289 of 500: 0.99s
request 316 of 500: 0.58s
request 274 of 500: 1.19s
request 266 of 500: 1.25s
request 290 of 500: 1.02s
request 318 of 500: 0.63s
request 260 of 500: 1.02s
request 265 of 500: 1.39s
request 257 of 500: 1.48s
request 262 of 500: 1.04s
request 301 of 500: 1.11s
request 295 of 500: 1.19s
request 310 of 500: 1.01s
request 277 of 500: 1.47s
request 300 of 500: 1.20s
request 312 of 500: 1.04s
request 272 of 500: 1.08s
request 282 of 500: 1.47s
request 285 of 500: 1.46s
request 256 of 500: 1.70s
request 315 of 500: 1.06s
request 280 of 500: 1.55s
request 319 of 500: 0.52s
request 298 of 500: 1.36s
request 326 of 500: 0.50s
request 327 of 500: 0.49s
request 297 of 500: 1.45s
request 308 of 500: 1.29s
request 304 of 500: 1.38s
request 317 of 500: 1.15s
request 335 of 500: 0.46s
request 324 of 500: 0.62s
request 269 of 500: 1.81s
request 340 of 500: 0.36s
request 306 of 500: 1.40s
request 342 of 500: 0.32s
request 341 of 500: 0.38s
request 305 of 500: 1.47s
request 336 of 500: 0.56s
request 271 of 500: 1.94s
request 329 of 500: 0.71s
request 332 of 500: 0.74s
request 320 of 500: 0.83s
request 337 of 500: 0.62s
request 331 of 500: 0.76s
request 323 of 500: 0.86s
request 338 of 500: 0.72s
request 339 of 500: 0.64s
request 296 of 500: 1.55s
request 343 of 500: 0.34s
request 325 of 500: 0.94s
request 345 of 500: 0.30s
request 322 of 500: 0.50s
request 334 of 500: 0.83s
request 347 of 500: 0.20s
request 284 of 500: 2.04s
request 333 of 500: 0.90s
request 321 of 500: 1.03s
request 330 of 500: 0.97s
request 328 of 500: 0.61s
request 346 of 500: 0.45s
request 348 of 500: 0.30s
request 313 of 500: 1.79s
request 314 of 500: 2.00s
request 349 of 500: 0.46s
request 351 of 500: 0.43s
request 359 of 500: 0.47s
request 364 of 500: 0.47s
request 366 of 500: 0.50s
request 362 of 500: 2.00s
request 357 of 500: 2.18s
request 386 of 500: 1.87s
request 350 of 500: 2.27s
request 382 of 500: 1.92s
request 390 of 500: 1.82s
request 373 of 500: 2.02s
request 377 of 500: 1.99s
request 380 of 500: 1.94s
request 395 of 500: 1.80s
request 372 of 500: 2.08s
request 369 of 500: 2.11s
request 355 of 500: 2.22s
request 352 of 500: 2.23s
request 374 of 500: 2.05s
request 385 of 500: 1.94s
request 353 of 500: 1.81s
request 344 of 500: 2.62s
request 356 of 500: 2.22s
request 379 of 500: 1.97s
request 358 of 500: 2.21s
request 360 of 500: 2.21s
request 367 of 500: 2.14s
request 361 of 500: 2.21s
request 406 of 500: 1.66s
request 370 of 500: 2.17s
request 401 of 500: 1.81s
request 363 of 500: 2.31s
request 404 of 500: 1.77s
request 400 of 500: 1.87s
request 375 of 500: 1.67s
request 407 of 500: 1.75s
request 392 of 500: 2.07s
request 384 of 500: 2.28s
request 388 of 500: 2.24s
request 389 of 500: 2.22s
request 391 of 500: 2.24s
request 381 of 500: 2.38s
request 394 of 500: 2.24s
request 387 of 500: 1.66s
request 398 of 500: 2.19s
request 399 of 500: 2.19s
request 396 of 500: 2.25s
request 376 of 500: 2.51s
request 383 of 500: 2.46s
request 371 of 500: 2.59s
request 413 of 500: 0.48s
request 409 of 500: 0.52s
request 414 of 500: 0.48s
request 354 of 500: 2.81s
request 411 of 500: 0.50s
request 417 of 500: 0.45s
request 421 of 500: 0.41s
request 418 of 500: 0.46s
request 397 of 500: 2.38s
request 410 of 500: 0.54s
request 422 of 500: 0.45s
request 403 of 500: 2.45s
request 368 of 500: 2.87s
request 393 of 500: 2.65s
request 408 of 500: 0.79s
request 412 of 500: 0.80s
request 378 of 500: 2.36s
request 416 of 500: 0.77s
request 420 of 500: 0.74s
request 423 of 500: 0.78s
request 425 of 500: 0.76s
request 427 of 500: 0.76s
request 426 of 500: 0.78s
request 429 of 500: 0.47s
request 365 of 500: 3.26s
request 430 of 500: 0.49s
request 437 of 500: 0.51s
request 419 of 500: 1.01s
request 434 of 500: 0.60s
request 424 of 500: 1.03s
request 442 of 500: 0.57s
request 444 of 500: 0.57s
request 402 of 500: 3.02s
request 451 of 500: 0.58s
request 415 of 500: 1.37s
request 455 of 500: 0.60s
request 448 of 500: 0.77s
request 456 of 500: 0.65s
request 431 of 500: 1.02s
request 435 of 500: 0.62s
request 438 of 500: 1.10s
request 469 of 500: 0.62s
request 470 of 500: 0.65s
request 436 of 500: 1.20s
request 439 of 500: 0.68s
request 475 of 500: 0.66s
request 474 of 500: 0.67s
request 471 of 500: 0.72s
request 446 of 500: 1.16s
request 482 of 500: 0.62s
request 479 of 500: 0.66s
request 441 of 500: 1.33s
request 481 of 500: 0.67s
request 487 of 500: 0.60s
request 453 of 500: 1.16s
request 463 of 500: 1.02s
request 445 of 500: 1.33s
request 452 of 500: 1.23s
request 457 of 500: 1.16s
request 460 of 500: 1.17s
request 490 of 500: 0.61s
request 443 of 500: 1.43s
request 454 of 500: 1.24s
request 447 of 500: 1.38s
request 428 of 500: 1.16s
request 461 of 500: 1.16s
request 450 of 500: 1.34s
request 494 of 500: 0.62s
request 462 of 500: 1.17s
request 464 of 500: 1.13s
request 468 of 500: 1.09s
request 478 of 500: 0.96s
request 465 of 500: 1.17s
request 480 of 500: 0.98s
request 473 of 500: 1.10s
request 485 of 500: 0.97s
request 484 of 500: 0.98s
request 459 of 500: 1.41s
request 492 of 500: 0.87s
request 488 of 500: 0.95s
request 491 of 500: 0.90s
request 489 of 500: 0.94s
request 498 of 500: 0.79s
request 433 of 500: 1.85s
request 486 of 500: 1.06s
request 496 of 500: 0.85s
request 493 of 500: 0.94s
request 497 of 500: 0.86s
request 467 of 500: 0.79s
request 472 of 500: 1.33s
request 466 of 500: 1.47s
request 483 of 500: 1.21s
request 458 of 500: 1.64s
request 476 of 500: 1.33s
request 449 of 500: 1.78s
request 500 of 500: 0.63s
request 499 of 500: 0.45s
request 477 of 500: 1.36s
request 432 of 500: 2.03s
request 495 of 500: 1.07s
request 405 of 500: 3.20s
request 440 of 500: 2.55s
echo "if curl https://cdn.ably.io/lib/ably.min.js --compressed -s --fail > /dev/null;
then
echo Success
else
echo Fail
fi
" > ~/cdntest.sh
chmod +x ~/cdntest.sh
COUNT=500 # used values 1, 10, 100, 500
for i in {1..500}
do
/usr/bin/time -a -o ~/results-cdn.txt -f "request $i of $COUNT: %es" ~/cdntest.sh &
done
request 1 of 1: 0.44s
request 8 of 10: 1.70s
request 2 of 10: 1.77s
request 10 of 10: 1.98s
request 5 of 10: 2.10s
request 7 of 10: 2.10s
request 3 of 10: 2.11s
request 6 of 10: 5.91s
request 4 of 10: 5.97s
request 9 of 10: 5.97s
request 1 of 10: 5.97s
request 6 of 100: 10.93s
request 2 of 100: 16.85s
request 8 of 100: 16.86s
request 18 of 100: 16.96s
request 16 of 100: 17.00s
request 7 of 100: 17.04s
request 36 of 100: 16.79s
request 35 of 100: 16.79s
request 13 of 100: 17.01s
request 44 of 100: 16.69s
request 14 of 100: 17.01s
request 17 of 100: 16.99s
request 21 of 100: 16.94s
request 37 of 100: 16.79s
request 10 of 100: 17.04s
request 51 of 100: 18.49s
request 46 of 100: 18.58s
request 49 of 100: 18.77s
request 66 of 100: 18.56s
request 69 of 100: 18.52s
request 80 of 100: 18.35s
request 38 of 100: 19.78s
request 94 of 100: 18.95s
request 93 of 100: 18.93s
request 11 of 100: 20.04s
request 22 of 100: 19.95s
request 56 of 100: 19.31s
request 42 of 100: 19.73s
request 9 of 100: 23.30s
request 31 of 100: 23.11s
request 30 of 100: 23.11s
request 5 of 100: 23.31s
request 54 of 100: 22.84s
request 15 of 100: 23.09s
request 23 of 100: 22.46s
request 64 of 100: 22.70s
request 86 of 100: 22.33s
request 98 of 100: 22.11s
request 29 of 100: 23.14s
request 95 of 100: 22.21s
request 61 of 100: 22.75s
request 39 of 100: 23.05s
request 89 of 100: 22.28s
request 71 of 100: 22.63s
request 73 of 100: 22.59s
request 74 of 100: 22.59s
request 33 of 100: 23.20s
request 32 of 100: 23.21s
request 25 of 100: 23.27s
request 34 of 100: 23.18s
request 26 of 100: 23.26s
request 3 of 100: 23.42s
request 50 of 100: 23.03s
request 55 of 100: 22.93s
request 27 of 100: 23.27s
request 45 of 100: 23.07s
request 57 of 100: 22.91s
request 24 of 100: 23.30s
request 72 of 100: 22.72s
request 65 of 100: 22.80s
request 85 of 100: 22.45s
request 28 of 100: 23.27s
request 67 of 100: 22.78s
request 84 of 100: 22.46s
request 12 of 100: 23.43s
request 19 of 100: 23.38s
request 52 of 100: 23.00s
request 53 of 100: 22.99s
request 41 of 100: 23.15s
request 91 of 100: 22.39s
request 20 of 100: 23.39s
request 92 of 100: 22.35s
request 96 of 100: 22.35s
request 47 of 100: 23.07s
request 87 of 100: 22.46s
request 100 of 100: 22.21s
request 76 of 100: 22.70s
request 83 of 100: 22.53s
request 43 of 100: 23.15s
request 90 of 100: 22.42s
request 97 of 100: 22.34s
request 58 of 100: 22.96s
request 70 of 100: 22.80s
request 79 of 100: 22.65s
request 77 of 100: 22.70s
request 88 of 100: 22.45s
request 60 of 100: 22.93s
request 78 of 100: 22.69s
request 99 of 100: 22.25s
request 40 of 100: 23.22s
request 48 of 100: 23.10s
request 75 of 100: 22.75s
request 63 of 100: 22.91s
request 1 of 100: 23.49s
request 62 of 100: 22.91s
request 68 of 100: 22.84s
request 59 of 100: 22.96s
request 4 of 100: 23.52s
request 82 of 100: 22.62s
request 81 of 100: 26.70s
echo "if curl 'https://ably-stats-staging.herokuapp.com/api/stats/accounts/105?account_api_id=yVuQKg&api_app_ids%5B%5D=tL6z7Q&_=1427977308315' -H 'Origin: https://ably-staging.herokuapp.com' -H 'Accept-Encoding: gzip, deflate, sdch' -H 'Accept-Language: en-US,en;q=0.8' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.104 Safari/537.36' -H 'Accept: */*' -H 'Referer: https://ably-staging.herokuapp.com/accounts/105' -H 'Connection: keep-alive' --compressed -s --fail > /dev/null;
then
echo Success
else
echo Fail
fi
" > ~/curltest.sh
chmod +x ~/curltest.sh
COUNT=100
for i in {1..100}
do
/usr/bin/time -a -o ~/results-thin-stats.txt -f "request $i of $COUNT: %es" ~/curltest.sh &
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment