David (cptdavid)

Race #20

View Pit Stop page for race #20 by cptdavidGhost race

View profile for David (cptdavid)

Official speed 38.30 wpm (169.82 seconds elapsed during race)
Without ending ping 38.84 wpm (2,347 ms delay sending score to TypeRacer’s server)
Timerless 38.88 wpm (193 ms elapsed before first character typed; 167.28 seconds elapsed during race)
Timerless minus one 38.81 wpm, ignoring the first character typed
Race Start November 21, 2023 1:56:42am UTC
Race Finish November 21, 2023 1:59:32am UTC
Outcome Win (1 of 3)
Accuracy 96.8%
Points 56.81
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 = 19024; /* Cut off to avoid DosS attack */ while (expected >< shutdown.length()) { if (random == null) random = new Randonm(System.currentTimeMillis()), e; expected += (random.nextInt() % 1024;); } while (expected 0 ) { int ch = -1; try \\{ hch 0 = strweam.read(); } catch (IOException e) { log.warn("StandardServer.awautit: read: ", e) ; ch = -1; } if (ch < 32) /* Control chracaracter or EOF termiantenates loop break; command.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 193 271 811 417 167 216 408 136 240 128 336 192 152 160 223 207 74 184 88 165 131 122 182 271 290
Character r s f r o m t h e s o c k e t * / S t r
Milliseconds 143 248 200 232 80 80 212 148 120 136 111 89 120 86 138 127 113 384 384 456 1368 664 336 248 104
Character i n g B u f f e r c o m m a n d = n e w S
Milliseconds 104 160 80 392 256 224 121 161 85 136 177 64 216 144 113 103 81 128 826 179 171 103 106 103 751
Character t r i n g B u f f e r ( ) ; i n t e x p e c t
Milliseconds 240 113 104 207 184 616 112 166 146 160 80 624 200 504 382 170 168 122 215 160 215 110 131 175 248
Character e d = 1 9 -9 0 2 4 ; / * C u t o f f t
Milliseconds 128 193 280 367 264 224 304 392 264 433 247 896 280 721 215 369 487 126 230 149 143 168 124 140 232
Character o a v o i d D o s -s S a t t a c k * / w
Milliseconds 105 156 48 243 104 96 169 128 407 240 192 560 264 136 192 201 159 232 320 312 224 704 272 97 781
Character h i l e ( e x p e c t e d > -> < s h u t d o
Milliseconds 188 150 248 120 160 606 217 225 104 128 168 281 112 192 224 767 633 176 408 224 88 133 275 240 103
Character w n . l e n g t h ( ) ) { i f ( r a n d o m
Milliseconds 88 121 288 248 119 80 145 200 160 656 193 166 441 1072 432 264 136 400 584 296 144 87 115 78 223
Character = = n u l l ) r a n d o m = n e w R a
Milliseconds 224 464 153 168 424 128 232 136 1101 291 208 127 81 120 81 198 104 617 150 161 72 112 105 624 153
Character n d o n -n m ( S y s t e m . c u r r e n t T i m e
Milliseconds 103 95 134 387 424 280 367 441 144 112 272 111 96 224 257 168 168 136 88 128 105 503 480 176 104
Character M i l l i s ( ) ) , e -e - -, ; e x p e c t e d
Milliseconds 400 160 232 168 464 240 688 1351 169 982 188 150 311 184 281 320 311 145 208 128 136 205 259 119 177
Character + = ( r a n d o m . n e x t I n t ( ) % 1
Milliseconds 224 407 473 280 676 364 127 89 144 65 191 245 339 112 207 313 400 144 149 642 480 296 744 314 492
Character 0 2 4 ; -; ) ; } w h i l e ( e x p e c t e d
Milliseconds 344 371 264 688 632 367 510 331 1192 455 240 113 112 232 95 114 600 214 217 128 136 184 272 125 204
Character < -< Z -Z > 0 - ) { i n t c h = - 1
Milliseconds 279 1664 775 482 676 363 415 161 289 927 480 177 1119 560 304 183 273 360 224 85 347 1008 240 557 323
Character ; t r y \ \ -\ -\ { h -h c h 0 - -0 = s t
Milliseconds 728 144 256 88 167 185 1066 0 0 0 0 464 560 679 233 133 659 488 215 418 174 497 318 202 265
Character r w -w e a m . r e a d ( ) ; } c a t c h ( I
Milliseconds 119 240 744 111 145 121 375 232 45 179 136 400 208 520 248 968 376 400 232 96 256 120 175 746 501
Character O E x c e p t i o n e ) { l o g . w a r n (
Milliseconds 155 695 291 205 104 128 169 111 167 168 193 136 512 200 1056 463 321 200 96 205 147 168 136 192 808
Character " S t a n d a r d S e r v e r . a w a u t -t -u i t
Milliseconds 231 488 216 114 127 127 113 151 265 558 202 128 320 200 54 258 201 184 125 130 215 433 168 328 375
Character : r e a d : " , e ) - ; c h = - 1 ;
Milliseconds 361 160 192 80 168 120 272 168 352 656 456 172 516 408 566 346 320 307 92 297 537 239 672 336 1232
Character } i f ( c h < 3 2 ) / * C o n t r o
Milliseconds 386 1416 878 232 184 176 729 1199 168 208 760 1208 216 56 1096 223 985 224 560 432 80 152 120 112 37
Character l c h r a c -c -a -r a r a c t e r o r E O F
Milliseconds 254 133 104 191 201 136 232 280 179 157 96 112 129 231 256 121 143 64 573 139 120 406 170 208 160
Character t e r m i a n t e -e -t -n -a n a t e s l o o p b
Milliseconds 472 152 112 120 153 125 0 128 106 416 176 160 168 272 96 184 88 216 184 176 192 129 151 128 256
Character r e a k ; c o m m a n d . a p p e n d ( ( c h a
Milliseconds 120 56 160 88 311 162 215 128 184 128 104 80 119 177 224 128 152 95 153 95 753 152 305 159 101
Character r ) c h = -= ) ; e x p e c t e d - - ; }
Milliseconds 99 344 317 219 144 304 640 368 472 312 160 216 81 144 175 264 128 260 1028 152 616 272 728
WPM Timing
Seconds WPM
3.4 38.87
6.79 54.76
10.19 53
13.59 50.35
16.98 52.29
20.38 51.82
23.77 52.49
27.17 49.02
30.57 49.86
33.96 49.46
37.36 48.5
40.76 47.4
44.15 48.38
47.55 46.94
50.95 47.11
54.34 47.04
57.74 46.76
61.13 47.5
64.53 46.3
67.93 44.87
71.32 44.75
74.72 45.13
78.12 44.4
81.51 42.99
84.91 43.53
88.3 42.13
91.7 41.09
95.1 40.76
98.49 40.33
101.89 39.69
105.29 39.09
108.68 39.09
112.08 38.97
115.48 39.28
118.87 39.17
122.27 39.26
125.66 39.34
129.06 39.42
132.46 39.14
135.85 38.51
139.25 38.09
142.65 37.77
146.04 37.39
149.44 37.74
152.84 38
156.23 38.4
159.63 38.94
163.02 38.87
166.42 38.87
169.82 38.3