ChK (chkg2a)

Race #10

View Pit Stop page for race #10 by chkg2aGhost race

View profile for ChK (chkg2a)

Official speed 61.23 wpm (106.22 seconds elapsed during race)
Without ending ping 61.70 wpm (809 ms delay sending score to TypeRacer’s server)
Timerless 61.70 wpm (6 ms elapsed before first character typed; 105.41 seconds elapsed during race)
Timerless minus one 61.59 wpm, ignoring the first character typed
Race Start March 12, 2024 9:21:06pm UTC
Race Finish March 12, 2024 9:22:52pm UTC
Outcome No win (1 of 1)
Accuracy 97.6%
Points 90.83
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 se ot of characters from the socket */ String Buffer command = new StringBUffuffer(); int expected = 1024; /* Cut off to avoid DoS Aattack */ while (expected < shutdown.length()) { if (random +=== null( ) random = new Random(Sytemstem.currentTimeMillis()); expected += (random.nextInt() *% 10240); } ewhile (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 lopop break; command.append((char) ch) ; ;_); expectded--; }
Timing
Character / * R e a d a s e o -o - t o f c h a r
Milliseconds 6 428 245 371 205 96 131 109 91 126 116 72 155 55 258 136 90 50 68 85 59 413 128 56 115
Character a c t e r s f r o m t h e s o c k e t * /
Milliseconds 140 87 60 118 65 46 185 118 131 93 42 91 47 107 27 45 153 188 157 105 130 60 124 208 347
Character S t r i n g - B u f f e r c o m m a n d =
Milliseconds 204 257 183 174 95 32 70 97 280 220 148 92 133 158 27 130 219 80 31 191 56 105 49 129 276
Character n e w S t r i n g B U f f -f -f -U u f f e r ( )
Milliseconds 144 152 134 39 65 220 248 165 77 41 72 444 206 145 139 219 147 175 159 107 142 132 54 214 201
Character ; i n t e x p e c t e d = 1 0 2 4 ; / *
Milliseconds 375 213 156 52 70 164 133 87 110 74 138 47 169 81 139 77 317 305 87 202 79 246 151 358 389
Character C u t o f f t o a v o i d D o S A -A a
Milliseconds 359 307 146 96 85 44 87 122 82 113 54 91 200 83 77 40 91 92 231 234 284 184 240 316 70
Character t t a c k * / w h i l e ( e x p e c t e d
Milliseconds 99 150 83 84 59 121 201 331 170 416 68 42 8 50 123 158 316 69 97 90 131 62 94 169 151
Character < s h u t d o w n . l e n g t h ( ) ) { i f
Milliseconds 245 198 141 93 137 71 169 12 102 50 161 229 115 140 267 160 91 225 172 191 353 183 194 188 118
Character ( r a n d o m + = -= -+ = = n u l l ( - -( )
Milliseconds 333 148 377 71 52 115 63 38 147 165 521 363 167 150 159 164 133 175 54 166 211 158 303 363 183
Character r a n d o m = n e w R a n d o m ( S y t e
Milliseconds 249 182 37 352 137 76 23 264 138 114 114 50 18 102 259 162 106 116 102 32 268 416 194 200 60
Character m -m -e -t s t e m . c u r r e n t T i m e M i l l i
Milliseconds 61 317 132 134 28 213 51 24 173 483 88 125 155 43 70 89 241 117 54 100 255 192 50 99 432
Character s ( ) ) ; e x p e c t e d + = ( r a n d o m
Milliseconds 121 263 175 229 381 239 132 78 134 66 127 40 115 156 171 193 372 165 413 158 59 83 88 140 63
Character . n e x t I n t ( ) * -* % 1 0 2 4 0 -0 ) ; }
Milliseconds 324 313 158 93 22 215 164 121 247 447 193 382 287 139 583 134 116 157 79 924 267 151 260 196 449
Character e -e w h i l e ( e x p e c t e d > 0 ) {
Milliseconds 262 157 318 112 101 11 12 65 137 448 450 71 149 166 129 50 103 151 121 194 300 223 633 305 357
Character i n t c h = - 1 ; t r y { c h =
Milliseconds 174 159 56 62 112 145 115 128 115 195 517 242 413 131 167 41 248 110 520 155 250 107 126 113 139
Character s t r e a m . r e a d ( ) ; } c a t c h ( I
Milliseconds 210 43 315 26 58 46 193 146 74 30 138 292 175 296 293 396 433 273 65 103 50 86 194 235 399
Character O E x c e p t i o n e ) { l o g . w a r n (
Milliseconds 216 430 225 497 49 168 133 138 63 57 195 114 314 194 216 220 313 170 80 158 126 34 42 133 343
Character " S t a n d a r d S e r v e r . a w a i t : r e
Milliseconds 326 319 528 119 135 147 118 210 260 472 197 103 261 88 106 283 199 192 45 49 104 272 201 120 59
Character a d : " , e ) ; c h = - 1 ; } i f
Milliseconds 66 122 289 185 272 521 193 411 358 532 161 125 122 230 111 136 820 150 267 255 718 299 429 110 112
Character ( c h < 3 2 ) / * C o n t r o l c h a r
Milliseconds 223 358 108 309 416 166 238 63 338 420 632 333 352 250 143 69 174 17 245 169 193 290 138 145 126
Character a c t e r o r E O F t e r m i n a t e s l
Milliseconds 135 91 50 124 76 128 138 101 134 249 171 141 211 308 129 52 91 157 56 26 55 91 70 140 425
Character o p -p o p b r e a k ; c o m m a n d . a p p e
Milliseconds 150 201 634 193 78 112 95 61 32 34 90 209 156 246 80 65 162 60 94 75 99 216 174 190 403
Character n d ( ( c h a r ) c h ) ; -; - - -) ; -; _ -_ )
Milliseconds 109 114 206 251 280 111 49 58 210 325 133 112 220 246 170 200 218 355 522 131 211 346 298 438 216
Character ; e x p e c t d -d e d - - ; }
Milliseconds 513 174 131 53 25 323 106 40 289 297 64 146 331 203 823 152 405
WPM Timing
Seconds WPM
2.12 67.78
4.25 76.26
6.37 84.73
8.5 79.08
10.62 83.6
12.75 76.26
14.87 75.85
17 76.96
19.12 74.69
21.24 76.26
23.37 74.46
25.49 76.26
27.62 77.34
29.74 75.85
31.87 73.81
33.99 71.67
36.12 72.43
38.24 70.92
40.36 71.94
42.49 70.89
44.61 71.28
46.74 71.38
48.86 69.75
50.99 68.02
53.11 67.56
55.24 67.57
57.36 66.53
59.48 66.37
61.61 66.42
63.73 66.84
65.86 66.51
67.98 66.02
70.11 66.07
72.23 65.79
74.36 65.52
76.48 65.9
78.6 65.03
80.73 64.66
82.85 63.87
84.98 63.55
87.1 62.96
89.23 63.48
91.35 64.24
93.48 63.93
95.6 64.39
97.72 64.47
99.85 63.22
101.97 62.13
104.1 62.13
106.22 61.23