Ankit (dragon_surfer)

Race #395

View Pit Stop page for race #395 by dragon_surferGhost race

View profile for Ankit (dragon_surfer)

Official speed 46.89 wpm (138.71 seconds elapsed during race)
Without ending ping 47.00 wpm (311 ms delay sending score to TypeRacer’s server)
Timerless 47.23 wpm (678 ms elapsed before first character typed; 137.72 seconds elapsed during race)
Timerless minus one 47.14 wpm, ignoring the first character typed
Race Start March 19, 2024 3:40:55pm UTC
Race Finish March 19, 2024 3:43:14pm UTC
Outcome Win (1 of 3)
Accuracy 97.6%
Points 69.55
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 set of characters from the socket */ StringBuffer command = new StringBuffer(); int expected = 1024; /* Cut off ato avoid DosS attack */ while (expected < shutdown.length()) { if (random == null) random = new Random(Stsystem.currentTimeMillis()); expecte d += (random.nextInt() % 1024); } ewhile (expected > 0) { int ch = -1; tyry { ch = stream.read(); } cartttch (IE)OException e) { log.warn("StandardServer.await;: read: ", e):; ch = -1; ]} Iif (ch < 32) /* Contorol character or EOF terminates loop break; commadnandnd.append((char) ch); expected--; }
Timing
Character / * R e a d a s e t o f c h a r a c t e
Milliseconds 678 1009 232 442 236 128 168 361 137 167 135 148 229 160 144 112 95 178 153 46 184 88 594 264 94
Character r s f r o m t h e s o c k e t * / S t r
Milliseconds 119 113 128 104 199 89 104 87 69 147 57 112 361 110 128 120 120 105 128 305 495 202 230 216 193
Character i n g B u f f e r c o m m a n d = n e w S
Milliseconds 103 48 88 313 243 182 213 57 129 94 136 64 80 152 140 108 48 145 1640 264 305 208 115 166 205
Character t r i n g B u f f e r ( ) ; i n t e x p e c t
Milliseconds 212 191 76 105 476 351 233 382 185 70 103 331 64 331 123 121 89 86 145 683 195 113 135 240 257
Character e d = 1 0 2 4 ; / * C u t o f f a -a t
Milliseconds 112 168 81 337 181 98 144 233 397 402 105 359 359 135 249 216 327 144 145 88 183 88 106 334 132
Character o a v o i d D o s -s S a t t a c k * / w
Milliseconds 125 356 117 110 105 63 65 137 329 166 184 391 369 283 80 232 167 94 201 112 214 225 832 183 144
Character h i l e ( e x p e c t e d < s h u t d o w n
Milliseconds 178 98 85 111 122 191 167 225 66 190 265 223 88 272 144 417 119 499 157 192 87 329 248 679 188
Character . l e n g t h ( ) ) { i f ( r a n d o m =
Milliseconds 246 1095 175 194 112 208 87 362 70 384 151 480 265 285 91 145 304 297 117 136 92 84 136 162 799
Character = n u l l ) r a n d o m = n e w R a n d
Milliseconds 201 175 309 198 189 281 295 135 144 97 106 312 78 71 144 289 295 179 141 97 135 242 174 136 74
Character o m ( S t -t s -s y s t e m . c u r r e n t T i m e
Milliseconds 134 89 337 343 367 419 312 497 806 243 172 79 163 230 176 146 238 185 74 108 88 432 178 96 70
Character M i l l i s ( ) ) ; e x p e c t e - d + =
Milliseconds 384 201 417 159 112 105 326 73 715 368 124 82 288 112 164 266 224 203 288 482 140 215 336 740 221
Character ( r a n d o m . n e x t I n t ( ) % 1 0 2 4 )
Milliseconds 1400 306 125 105 305 56 103 290 294 96 280 233 318 195 102 328 67 292 498 302 161 225 185 285 588
Character ; } e -e w h i l e ( e x p e c t e d > 0
Milliseconds 316 128 265 343 512 473 144 136 16 104 96 151 306 158 265 83 200 654 238 91 237 129 271 288 360
Character ) { i n t c h = - 1 ; t y -y r y {
Milliseconds 616 233 248 183 114 88 87 217 119 91 216 277 216 562 256 352 120 159 238 396 140 88 168 609 136
Character c h = s t r e a m . r e a d ( ) ; } c a r
Milliseconds 130 86 185 410 172 113 193 176 71 74 62 201 160 54 64 196 313 35 450 158 243 157 161 81 207
Character t -t t -t -r t c h ( I E -E ) -) O E x c e p t i o n
Milliseconds 0 479 245 150 216 69 251 113 124 309 398 191 568 3399 649 289 1623 337 198 324 118 141 186 56 127
Character e ) { l o g . w a r n ( " S t a n d a r d S
Milliseconds 219 151 318 183 482 222 667 213 99 222 410 93 129 211 293 456 319 235 134 145 68 116 142 224 276
Character e r v e r . a w a i t ; -; : r e a d : " , e
Milliseconds 661 289 367 226 96 174 208 311 123 38 367 294 428 288 238 90 72 103 168 410 183 462 265 127 130
Character ) : -: ; c h = - 1 ; ] -] } I -I i f ( c
Milliseconds 378 511 393 285 55 129 147 189 252 179 579 200 407 184 616 458 277 207 234 400 191 74 81 311 191
Character h < 3 2 ) / * C o n t o -o r o l c h a r
Milliseconds 98 172 506 144 1448 312 448 158 355 329 109 287 232 64 185 348 367 109 111 256 73 105 118 97 178
Character a c t e r o r E O F t e r m i n a t e s l
Milliseconds 111 291 239 52 145 88 123 110 47 377 400 392 327 490 104 110 63 120 107 85 120 56 329 145 70
Character o o p b r e a k ; c o m m a d n -n -d a n d -d -n
Milliseconds 224 155 69 152 162 216 38 57 89 281 102 126 84 58 142 106 117 7 481 112 268 114 114 354 117
Character -a n d . a p p e n d ( ( c h a r ) c h ) ; e x
Milliseconds 608 273 374 160 185 338 126 103 753 119 264 552 154 126 80 113 944 159 460 125 258 462 96 136 260
Character p e c t e d - - ; }
Milliseconds 67 178 806 226 70 216 386 166 612 228 328
WPM Timing
Seconds WPM
2.77 25.95
5.55 47.58
8.32 59.12
11.1 59.48
13.87 58.83
16.64 57.68
19.42 58.09
22.19 58.4
24.97 57.19
27.74 57.53
30.52 56.23
33.29 57.31
36.06 56.23
38.84 55
41.61 54.79
44.39 54.61
47.16 55.47
49.93 54.07
52.71 54.18
55.48 54.07
58.26 53.56
61.03 52.1
63.81 51.91
66.58 51.91
69.35 50.87
72.13 51.24
74.9 51.27
77.68 51.14
80.45 51.01
83.22 51.91
86 51.07
88.77 49.47
91.55 48.11
94.32 47.96
97.1 47.71
99.87 48.06
102.64 48.05
105.42 47.81
108.19 47.69
110.97 47.15
113.74 46.95
116.51 46.45
119.29 46.58
122.06 46.99
124.84 47.58
127.61 47.68
130.39 47.31
133.16 47.13
135.93 47.05
138.71 46.89