RickChyou (rickchyou)

Race #142

View Pit Stop page for race #142 by rickchyouGhost race

View profile for RickChyou (rickchyou)

Official speed 32.29 wpm (201.42 seconds elapsed during race)
Without ending ping 32.31 wpm (124 ms delay sending score to TypeRacer’s server)
Timerless 32.38 wpm (461 ms elapsed before first character typed; 200.84 seconds elapsed during race)
Timerless minus one 32.32 wpm, ignoring the first character typed
Race Start September 22, 2023 3:21:16am UTC
Race Finish September 22, 2023 3:24:38am UTC
Outcome No win (2 of 3)
Accuracy 96.4%
Points 47.89
Text #10000 (Length: 542 characters)

/* Read a set of characters from the socket */ StringBuffer command = new StringBuffer(); int expected = 1024; /* Cut off to avoid DoS attack */ while (expected < shutdown.length()) { if (random == null) random = new Random(System.currentTimeMillis()); expected += (random.nextInt() % 1024); } while (expected > 0) { int ch = -1; try { ch = stream.read(); } catch (IOException e) { log.warn("StandardServer.await: read: ", e); ch = -1; } if (ch < 32) /* Control character or EOF terminates loop break; command.append((char) ch); expected--; }

Characters typed /* Read a sseet of characters frrooom the socket */ String =Buffer command = new StringBuffer(); int wexpected = 1024; /* Ciuut of f f to avoid DoS attack */ while (expected < shutdown. llength()) { if (reandom == null) random = new Random (Susystem. currentYTimeMillis()); expected += (random.nextInt()% % 1024); } while (expected > )0) { int ch = 0-1; try { ch = stream.read*(); }ca catch (IOException e) { log.warn ("StandardServer.await: read: "", e); ch = -1; } if (ch < 32) /* Ciontrol character or EOF terminates loop brealk; command.append((char) ch); expected--; }
Timing
Character / * R e a d a s s e -e -s e t o f c h a r
Milliseconds 461 583 279 747 218 518 169 239 166 179 318 71 240 312 169 108 184 206 190 108 94 233 216 139 265
Character a c t e r s f r r o -o o -o -r o m t h e s o c
Milliseconds 381 361 346 172 152 269 127 219 266 226 231 214 236 337 135 227 223 121 158 90 89 111 197 522 130
Character k e t * / S t r i n g = -= - B u f f e r c
Milliseconds 499 195 283 491 433 362 152 465 427 189 260 429 176 243 565 354 154 524 457 274 153 164 70 157 237
Character o m m a n d = n e w S t r i n g B u f f e r
Milliseconds 80 221 158 79 171 127 163 839 188 316 109 438 197 576 538 157 237 186 94 671 288 255 146 174 53
Character ( ) ; i n t w -w e x p e c t e d = 1 0 2 4
Milliseconds 487 192 539 187 193 171 115 327 254 721 162 539 257 217 256 257 241 775 138 445 349 731 179 685 435
Character ; / * C i u -u -i u t o f f - -f - f t o
Milliseconds 564 252 948 934 171 530 211 190 350 140 231 108 114 230 163 146 67 251 250 166 161 67 114 192 138
Character a v o i d D o S a t t a c k * / w h i l
Milliseconds 161 201 269 407 162 217 200 545 321 535 259 311 255 184 146 345 559 349 493 544 162 426 162 178 238
Character e ( e x p e c t e d < s h u t d o w n . l
Milliseconds 280 168 320 357 291 234 131 363 259 150 602 602 363 208 280 220 373 225 374 125 279 176 343 222 331
Character -l - l e n g t h ( ) ) { i f ( r e -e a n d o
Milliseconds 322 144 257 107 165 252 881 140 473 174 286 463 492 432 179 141 151 312 393 170 465 62 200 147 207
Character m = = n u l l ) r a n d o m = n e w R
Milliseconds 280 282 381 166 115 303 194 331 207 471 257 283 150 149 192 218 278 149 524 173 217 143 449 162 728
Character a n d o m - ( S u s -s -u y s t e m . - c u r r
Milliseconds 412 181 256 255 209 203 611 323 931 383 176 409 145 687 298 322 254 186 272 197 487 107 338 247 130
Character e n t Y -Y T i m e M i l l i s ( ) ) ; e x p e c
Milliseconds 281 167 242 1865 533 329 332 221 110 558 162 326 139 183 248 630 322 310 1260 260 218 466 161 182 291
Character t e d + = ( r a n d o m . n e x t I n t ( ) %
Milliseconds 196 182 243 613 606 254 308 761 415 295 143 211 206 232 622 466 141 555 332 536 200 321 383 191 1334
Character -% % 1 0 2 4 ) ; } w h i l e ( e x p e c
Milliseconds 711 147 541 761 218 450 529 372 594 475 207 819 383 418 106 217 236 297 135 279 307 384 182 130 327
Character t e d > ) -) 0 ) { i n t c h = 0 -0 -
Milliseconds 225 248 217 295 428 221 1539 728 667 381 289 670 196 256 234 73 184 722 276 184 511 365 427 559 731
Character 1 ; t r y { c h = s t r e a m . r e a d
Milliseconds 228 551 233 326 410 252 178 1004 283 211 156 314 495 114 288 202 225 259 427 238 289 335 116 691 500
Character * -* ( ) ; } c a -a -c c a t c h ( I O E x c e
Milliseconds 1531 812 1245 381 931 291 1276 626 193 380 136 158 274 172 222 333 150 152 384 833 801 672 847 409 222
Character p t i o n e ) { l o g . w a r n - ( " S t
Milliseconds 1094 150 157 236 256 277 1159 706 253 544 407 519 173 462 386 423 275 135 381 170 545 246 2831 658 355
Character a n d a r d S e r v e r . a w a i t : r e a d :
Milliseconds 231 183 177 350 178 663 663 270 140 328 204 86 521 330 351 228 401 204 455 232 201 98 306 243 420
Character " " -" , e ) ; c h = - 1 ; } i f (
Milliseconds 174 717 130 528 535 172 399 581 408 163 218 152 298 388 379 840 383 626 199 552 299 387 129 137 1473
Character c h < 3 2 ) / * C i -i o n t r o l c h a
Milliseconds 515 114 242 501 263 712 129 621 264 766 850 258 512 327 510 227 172 193 474 322 198 179 162 156 143
Character r a c t e r o r E O F t e r m i n a t e s
Milliseconds 207 216 281 439 186 100 169 167 187 135 630 643 584 354 291 264 113 330 169 180 216 199 184 230 202
Character l o o p b r e a l -l k ; c o m m a n d . a p p
Milliseconds 162 185 183 167 133 241 251 367 226 467 616 311 421 300 366 59 232 171 210 192 140 316 409 205 149
Character e n d ( ( c h a r ) c h ) ; e x p e c t e d -
Milliseconds 108 201 536 372 222 377 175 114 197 534 437 539 131 540 427 149 201 493 273 135 312 242 163 359 608
Character - ; }
Milliseconds 174 413 259 561
WPM Timing
Seconds WPM
4.03 32.77
8.06 38.72
12.09 39.72
16.11 37.98
20.14 38.13
24.17 38.23
28.2 39.58
32.23 38.35
36.26 36.74
40.28 35.75
44.31 36.02
48.34 35.99
52.37 36.43
56.4 36.6
60.43 36.14
64.46 36.3
68.48 36.97
72.51 36.9
76.54 35.9
80.57 35.45
84.6 35.18
88.63 35.2
92.66 35.1
96.68 35
100.71 34.08
104.74 33.91
108.77 34.31
112.8 33.51
116.83 33.49
120.85 33.16
124.88 33.54
128.91 32.77
132.94 32.23
136.97 32.07
141 31.83
145.03 31.61
149.05 31.48
153.08 31.12
157.11 31.24
161.14 31.35
165.17 31.39
169.2 31.28
173.23 31.17
177.25 30.94
181.28 31.44
185.31 31.6
189.34 31.75
193.37 32.08
197.4 32.22
201.42 32.29