Daniel (danyong)

Race #4

View Pit Stop page for race #4 by danyongGhost race

View profile for Daniel (danyong)

Official speed 37.55 wpm (173.21 seconds elapsed during race)
Without ending ping 37.69 wpm (661 ms delay sending score to TypeRacer’s server)
Timerless 37.90 wpm (917 ms elapsed before first character typed; 171.63 seconds elapsed during race)
Timerless minus one 37.83 wpm, ignoring the first character typed
Race Start July 1, 2023 9:27:04am UTC
Race Finish July 1, 2023 9:29:57am UTC
Outcome Win (1 of 2)
Accuracy 95.7%
Points 55.71
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 /* Reasdd a set of characters from the socket */ StringBuffer command = new StringBuffer(); int expected = 1024; /* Cut offf to avoid DosS attack */ wihile (expected < shuutdoewnm.length()0 ) { if (random == null) random = new Random(sSystem.currentTimiemMillis()0); expecctetted += (random. nextInt() % 1024); } while (expected > 0) { int ch = -1; try { ch = strieam.read(); } catch (IIOException e) { log.wartn ('"StandardServer.await: read: ", e); ch = =-1; } if (ch K<< 32) /* Control character or EOF eterminates loop bereak; command. appednnd((char) ch); expected --; }
Timing
Character / * R e a s d -d -s d a s e t o f c h a r
Milliseconds 917 732 372 524 597 190 220 0 651 201 150 190 190 83 341 215 223 175 226 98 110 300 196 64 205
Character a c t e r s f r o m t h e s o c k e t * /
Milliseconds 257 172 245 208 107 341 124 235 213 234 144 180 223 75 262 0 1664 314 262 249 133 268 247 376 352
Character S t r i n g B u f f e r c o m m a n d = n
Milliseconds 233 298 270 193 112 148 0 647 259 162 182 188 101 242 268 89 185 148 170 176 0 454 557 170 249
Character e w S t r i n g B u f f e r ( ) ; i n t e x
Milliseconds 104 338 227 417 266 177 71 130 49 953 314 116 167 180 160 345 122 310 212 200 194 105 174 255 224
Character p e c t e d = 1 0 2 4 ; / * C u t o f f
Milliseconds 128 494 235 246 176 327 318 263 237 268 122 304 371 434 142 725 337 263 434 278 165 167 146 119 538
Character f -f t o a v o i d D o s -s S a t t a c k
Milliseconds 164 576 212 451 77 149 187 391 366 198 127 220 350 270 221 1301 413 335 227 157 249 292 243 130 188
Character * / w i -i h i l e ( e x p e c t e d < s h
Milliseconds 495 331 289 272 607 488 255 195 248 218 182 283 423 252 178 284 253 204 150 243 212 711 0 107 364
Character u u -u t d o e -e w n m -m . l e n g t h ( ) 0 - -0
Milliseconds 189 382 399 189 442 113 175 1123 367 215 0 688 245 389 113 264 163 305 126 347 108 358 446 372 172
Character ) { i f ( r a n d o m = = n u l l ) r
Milliseconds 358 288 343 322 194 95 105 291 352 190 143 37 330 172 272 254 165 252 298 166 333 92 453 859 348
Character a n d o m = n e w R a n d o m ( s -s S y s t
Milliseconds 158 126 117 261 211 175 273 270 349 126 226 192 487 316 116 104 413 165 485 311 395 339 344 231 237
Character e m . c u r r e n t T i m i -i e m -m M i l l i s (
Milliseconds 158 186 336 466 153 170 139 266 190 104 480 211 236 202 482 107 302 480 345 210 279 128 384 258 361
Character ) 0 -0 ) ; e x p e c c t e -e -t t -t -c t e d + =
Milliseconds 127 390 534 248 373 210 260 337 45 502 299 104 195 212 306 181 155 402 187 164 190 269 312 314 295
Character ( r a n d o m . - n e x t I n t ( ) % 1 0
Milliseconds 639 635 303 206 225 203 229 495 380 413 403 205 123 479 259 367 206 196 502 158 323 531 310 360 103
Character 2 4 ) ; } w h i l e ( e x p e c t e d >
Milliseconds 318 225 418 866 237 347 367 316 176 217 202 107 167 275 428 240 164 331 279 238 891 207 279 967 281
Character 0 ) { i n t c h = - 1 ; t r y { c
Milliseconds 314 500 393 374 301 190 141 196 477 279 92 239 209 202 426 310 444 158 265 216 158 359 421 204 318
Character h = s t r i -i e a m . r e a d ( ) ; } c a
Milliseconds 133 569 251 465 0 155 184 215 502 88 248 126 412 346 810 0 0 428 199 470 262 467 188 325 185
Character t c h ( I I -I O E x c e p t i o n e ) { l
Milliseconds 187 488 225 184 223 483 404 479 249 534 276 460 106 497 187 113 109 268 301 350 414 179 358 638 800
Character o g . w a r t -t n - ( ' -' " S t a n d a r d S e
Milliseconds 149 287 377 686 89 179 0 496 341 372 451 311 672 424 371 700 304 426 216 194 327 133 239 401 810
Character r v e r . a w a i t : r e a d : " , e ) ;
Milliseconds 123 283 93 161 248 452 141 297 351 285 415 148 249 152 187 317 554 113 590 501 345 313 569 297 180
Character c h = = -= - 1 ; } i f ( c h K < -< -K <
Milliseconds 240 118 349 295 309 557 490 259 157 311 202 343 236 214 208 156 254 405 142 314 291 0 444 194 321
Character 3 2 ) / * C o n t r o l c h a r a c t e r
Milliseconds 325 267 82 600 195 339 517 253 627 263 211 145 187 110 241 221 338 170 121 202 227 289 626 123 117
Character o r E O F e -e t e r m i n a t e s l o o p
Milliseconds 223 224 144 132 414 389 294 281 356 419 272 184 85 354 233 182 157 170 252 232 154 139 301 122 235
Character b e -e r e a k ; c o m m a n d . - a p p e d
Milliseconds 192 276 137 474 98 196 160 100 368 534 262 233 199 160 263 230 157 230 233 445 382 17 154 97 284
Character n -n -d n d ( ( c h a r ) c h ) ; e x p e c t e
Milliseconds 59 698 149 296 0 733 424 489 199 63 139 406 389 66 194 618 277 175 472 267 191 324 504 293 0
Character d - - - ; }
Milliseconds 271 463 459 273 161 294 295 218
WPM Timing
Seconds WPM
3.46 20.78
6.93 32.91
10.39 42.72
13.86 38.97
17.32 41.57
20.79 43.3
24.25 44.54
27.71 45.03
31.18 43.88
34.64 43.65
38.11 41.88
41.57 42.15
45.03 41.3
48.5 41.07
51.96 39.72
55.43 39.19
58.89 39.94
62.36 40.03
65.82 40.47
69.28 40.01
72.75 39.92
76.21 39.52
79.68 38.86
83.14 38.54
86.6 38.24
90.07 38.37
93.53 38.36
97 38.35
100.46 38.1
103.93 38.22
107.39 38.44
110.85 38.32
114.32 38.42
117.78 38.21
121.25 38.01
124.71 37.62
128.17 37.17
131.64 37.28
135.1 37.39
138.57 37.41
142.03 37.34
145.5 37.11
148.96 37.22
152.42 37.55
155.89 37.64
159.35 37.8
162.82 37.88
166.28 37.67
169.74 37.68
173.21 37.55