Spark (spark_x1)

Race #9

View Pit Stop page for race #9 by spark_x1Ghost race

View profile for Spark (spark_x1)

Official speed 29.52 wpm (220.33 seconds elapsed during race)
Without ending ping 29.56 wpm (285 ms delay sending score to TypeRacer’s server)
Timerless 29.61 wpm (372 ms elapsed before first character typed; 219.67 seconds elapsed during race)
Timerless minus one 29.55 wpm, ignoring the first character typed
Race Start July 7, 2023 12:25:57am UTC
Race Finish July 7, 2023 12:29:37am UTC
Outcome No win (2 of 3)
Accuracy 93.0%
Points 43.79
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 /* Raeasd a set of charactesrserters form rom rom the cosscsockrytet */ StringBuffer command = ewnew cStringBuffer(); int expectesd = 1024; /* Cut off to cacvoid DoS attack 8*/ while )(expected >< situhtutdown.length()) { if {(rando m == unull ) random = newR Rnandom(sSyrstem.currentTimeMillis())' ; expected + = (random.nextInt() % 1024); } whlihilile (expected > 0) { int ch - = -1 ; try {ch ch = stream.radread(); } catch )(IOException e ) {log log.warn("SatandarsdServer.await:rea r read: ", e) ; ch = -1; } if (ch < 32) /* COntontorol character or EOF termninateds loop break; command.appanend((char) ch) ; expected--; }
Timing
Character / * R a -a e a s -s d a s e t o f c h a r
Milliseconds 372 432 161 659 322 632 121 156 407 489 130 2007 134 120 240 150 156 112 117 124 45 272 102 87 157
Character a c t e s -s -e r s -s -r -t e r -r -e t e r s f o r m
Milliseconds 174 161 223 89 359 387 535 6 186 332 139 107 163 100 388 134 116 117 118 181 134 167 100 117 116
Character - -m -r r o m - -m -o -r -o r o m t h e c o s -s
Milliseconds 110 251 135 118 137 129 84 120 264 135 133 126 123 372 109 134 115 87 104 78 100 327 97 209 244
Character -o s c -c -s -c s o c k r y -y -r t -t e t * / S t r
Milliseconds 124 131 271 293 142 118 523 93 106 134 903 112 544 126 1311 563 304 101 704 414 646 242 942 259 157
Character i n g B u f f e r c o m m a n d = e w -w -e n
Milliseconds 141 127 82 566 114 173 159 135 79 242 186 72 175 150 81 119 130 138 544 85 257 283 158 138 199
Character e w c -c S t r i n g B u f f e r ( ) ; i n t
Milliseconds 70 75 136 204 412 350 253 122 135 100 93 503 141 248 114 151 95 1026 84 1125 139 446 237 151 242
Character e x p e c t e s -s d = 1 0 2 4 ; / * C u t
Milliseconds 297 579 116 121 256 217 81 631 398 142 298 1247 82 460 299 293 147 1340 114 1202 1016 341 1198 153 170
Character o f f t o c -c a c -c v o i d D o S a t t
Milliseconds 111 155 86 153 144 173 391 78 294 293 81 134 391 97 300 124 151 158 776 298 741 184 195 393 185
Character a c k 8 -8 * / w h i l e ) -) ( e x p e c t e
Milliseconds 201 110 172 369 531 873 368 765 531 244 133 68 175 150 167 588 353 305 179 279 104 138 209 197 169
Character d > -> < s i t u -u -t -i h t -t u t d o w n . l e
Milliseconds 756 293 571 318 276 84 233 58 146 141 368 137 130 347 215 350 258 106 429 101 112 171 378 300 77
Character n g t h ( ) ) { i f { -{ ( r a n d o - m
Milliseconds 174 146 204 114 1047 136 215 452 763 115 333 114 336 687 326 819 214 173 100 143 136 312 538 191 112
Character = = u -u n u l l - ) r a n d o m = n e w
Milliseconds 544 137 107 294 325 273 82 888 144 114 528 486 133 738 183 67 120 144 90 386 505 80 324 86 98
Character R -R R n -n a n d o m ( s -s S y r -r s t e m . c u
Milliseconds 2126 597 324 751 318 369 105 143 115 138 97 780 302 442 280 595 138 447 218 186 92 211 1880 501 177
Character r r e n t T i m e M i l l i s ( ) ) ' - -' ; e
Milliseconds 132 138 109 153 111 527 108 100 92 521 126 296 147 104 188 656 83 1021 977 146 433 119 480 90 190
Character x p e c t e d + - = ( r a n d o m . n e x t
Milliseconds 278 145 118 213 238 131 216 142 842 138 507 407 622 884 274 179 91 136 137 97 333 264 137 251 319
Character I n t ( ) % 1 0 2 4 ) ; } w h l i -i -l h i
Milliseconds 444 115 135 684 72 414 1620 897 438 166 185 168 1010 745 400 795 221 185 115 237 8 410 360 325 55
Character l -l -i -h i l e ( e x p e c t e d > 0 ) {
Milliseconds 164 385 146 99 478 129 124 184 551 223 316 109 161 197 218 108 210 379 451 132 1159 373 758 767 530
Character i n t c h - - -- = - 1 - ; t r y { c
Milliseconds 152 136 146 136 203 94 148 485 98 982 137 539 86 795 121 258 525 440 116 246 147 161 137 1107 311
Character h -h -c c h = s t r e a m . r a d -d -a -r r e a
Milliseconds 136 452 125 398 637 116 118 1005 61 184 630 194 85 197 145 271 275 211 246 267 122 378 857 77 172
Character d ( ) ; } c a t c h ) -) ( I O E x c e p t i
Milliseconds 150 721 66 902 107 936 244 540 134 164 224 178 123 841 359 302 437 78 902 604 188 116 154 144 130
Character o n e - ) { l o g -g -o -l l o g . w a r n (
Milliseconds 82 202 481 236 185 418 400 102 1270 276 180 110 296 134 114 128 193 190 109 144 251 227 170 158 825
Character " S a -a t a n d a r s -s d S e r v e r . a w a i t
Milliseconds 457 563 390 372 484 147 118 125 136 769 309 788 385 479 233 93 236 194 59 363 225 179 188 183 167
Character : r e a -a -e r -r - -r r e a d : " , e ) -
Milliseconds 494 2048 113 118 690 134 374 302 333 149 4337 820 288 113 154 160 621 231 715 713 108 1176 772 306 495
Character ; c h = - 1 ; } i f ( c h < 3 2 )
Milliseconds 878 152 587 99 152 304 145 1142 130 723 98 955 226 972 183 327 1050 295 127 785 426 95 1143 98 970
Character / * C O n t -t -n -O o n t o -o r o l c h a r a
Milliseconds 388 813 959 371 759 121 159 141 316 136 106 294 70 77 273 376 164 105 200 127 421 131 105 148 154
Character c t e r o r E O F t e r m n -n i n a t e d -d
Milliseconds 102 240 138 73 171 138 119 139 715 134 178 426 752 110 105 156 238 361 183 87 155 366 89 235 495
Character s l o o p b r e a k ; c o m m a n d . a p p
Milliseconds 109 81 113 218 152 144 83 191 39 99 126 136 611 125 362 133 156 147 66 117 84 143 361 113 109
Character a n -n -a e n d ( ( c h a r ) c h ) - ; e x p
Milliseconds 114 247 314 112 65 155 116 696 114 196 108 121 159 677 107 622 105 594 139 610 344 100 183 217 125
Character e c t e d - - ; }
Milliseconds 147 213 217 519 196 765 140 931 232 877
WPM Timing
Seconds WPM
4.41 19.06
8.81 31.32
13.22 26.32
17.63 25.19
22.03 22.88
26.44 24.51
30.85 28.79
35.25 29.96
39.66 30.86
44.07 30.23
48.47 29.96
52.88 30.18
57.28 29.96
61.69 30.93
66.1 30.32
70.5 30.98
74.91 30.92
79.32 30.56
83.72 30.96
88.13 30.36
92.54 29.83
96.94 30.7
101.35 30.31
105.76 30.18
110.16 30.83
114.57 30.37
118.98 29.85
123.38 30.34
127.79 30.43
132.2 29.96
136.6 29.78
141.01 29.62
145.41 29.71
149.82 29.64
154.23 29.64
158.63 29.73
163.04 29.66
167.45 29.6
171.85 28.84
176.26 28.53
180.67 28.23
185.07 28.27
189.48 28.12
193.89 27.98
198.29 27.84
202.7 28.36
207.11 28.97
211.51 29.39
215.92 29.57
220.33 29.52