Abhishek Gupta (abhishekg)

Race #18

View Pit Stop page for race #18 by abhishekgGhost race

View profile for Abhishek Gupta (abhishekg)

Official speed 29.38 wpm (221.38 seconds elapsed during race)
Without ending ping 29.43 wpm (399 ms delay sending score to TypeRacer’s server)
Timerless 29.47 wpm (306 ms elapsed before first character typed; 220.67 seconds elapsed during race)
Timerless minus one 29.42 wpm, ignoring the first character typed
Race Start June 21, 2023 11:32:49am UTC
Race Finish June 21, 2023 11:36:30am UTC
Outcome Win (1 of 3)
Accuracy 94.6%
Points 43.58
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 /* Redad a set of characters afrom tehhe socket */ Straiing Buffer command = new StringBuffer(); int expected = 1024 ; /* Cut off to avoid DodD S artttack * // while (expcetected < shutdown .length()) { if (random == null) random -= new Random (System.curretnt Time Millis())); Exexpected +-= (random.nextInt() % 1024); } while (expected > 0) { int ch = -1 ; try { ch = stream.read(); } catch (IOException e) {loglog log.awarn("SatntansdardSrerver.await: read: ", e); ch = -1 ; } if (ch < 32 ) /* Control character sos r EOF terminates loop breal;k;comm command.append((char) ch); ecxxpcected--; }
Timing
Character / * R e d -d a d a s e t o f c h a r a c
Milliseconds 306 341 348 545 147 197 738 270 217 127 95 80 180 193 182 146 241 38 165 185 139 137 319 66 136
Character t e r s a -a f r o m t e h -h -e h e s o c k e
Milliseconds 227 115 194 121 170 190 441 124 149 105 158 118 424 106 69 576 118 540 32 115 418 180 73 241 78
Character t * / S t r a i -i -a i n g - B u f f e r c
Milliseconds 158 196 919 368 57 888 194 161 0 344 309 102 573 176 51 117 455 302 156 257 105 16 193 183 408
Character o m m a n d = n e w S t r i n g B u f f e r
Milliseconds 199 176 90 103 104 158 211 817 109 585 181 176 182 440 187 150 220 194 211 514 215 279 95 116 152
Character ( ) ; i n t e x p e c t e d = 1 0 2 4 -
Milliseconds 788 158 755 110 229 138 116 171 491 238 507 169 157 181 101 165 386 1194 205 612 125 230 187 340 780
Character ; / * C u t o f f t o a v o i d D o d
Milliseconds 320 987 817 176 149 894 554 94 138 556 217 141 138 212 96 577 125 144 665 234 216 118 1003 351 104
Character -d D - -D S a r t -t -r t t a c k * / -/ - /
Milliseconds 562 260 295 585 372 996 245 363 321 190 409 102 412 114 156 141 371 352 795 211 373 871 135 185 429
Character w h i l e ( e x p c e t -t -e -c e c t e d < s
Milliseconds 408 170 165 153 68 128 900 270 270 229 133 189 266 349 201 143 336 265 195 98 148 207 829 230 999
Character h u t d o w n - . l e n g t h ( ) ) { i f
Milliseconds 169 158 462 357 161 64 210 135 450 422 270 94 111 198 138 134 807 185 249 1054 537 154 707 151 150
Character ( r a n d o m = = n u l l ) r a n d o m -
Milliseconds 1141 341 57 412 134 182 156 231 640 107 136 612 163 291 95 1095 191 952 54 176 197 160 179 183 749
Character -- = n e w R a n d o m - ( S y s t e m . c u
Milliseconds 1440 757 183 1324 100 162 127 747 107 176 152 184 169 241 979 539 833 205 111 189 158 166 778 482 162
Character r r e t -t n t - T i m e - M i l l i s ( ) ) )
Milliseconds 260 99 94 351 512 289 126 151 524 452 215 175 12 151 600 406 204 170 129 624 83 972 212 264 126
Character -) ; E x -x -E e x p e c t e d + - -- = ( r a n
Milliseconds 574 337 207 617 359 433 122 196 385 298 115 217 180 82 173 553 580 640 674 216 133 1450 779 89 171
Character d o m . n e x t I n t ( ) % 1 0 2 4 ) ; }
Milliseconds 95 219 167 723 331 68 210 174 719 135 156 559 218 601 1170 349 552 134 168 206 1568 480 437 666 253
Character w h i l e ( e x p e c t e d > 0 ) { i n
Milliseconds 382 174 152 138 62 706 437 279 265 149 153 163 175 65 166 243 887 319 363 997 302 774 390 479 147
Character t c h = - 1 - ; t r y { c h = s
Milliseconds 125 155 255 174 784 424 1193 166 730 115 663 351 201 314 112 128 211 1196 235 379 198 895 533 110 607
Character t r e a m . r e a d ( ) ; } c a t c h ( I O
Milliseconds 131 154 152 123 229 662 746 132 62 96 976 175 751 126 970 297 643 93 171 198 170 715 515 542 122
Character E x c e p t i o n e ) { l o g -g -o l o g -g -o -l
Milliseconds 323 744 235 141 203 205 179 150 215 625 263 1349 462 535 1370 123 399 376 101 564 128 285 288 107 124
Character -l l o g . a -a w a r n ( " S a t n -n -t -a t a n s
Milliseconds 207 403 358 137 502 292 402 557 60 170 320 398 752 926 231 264 0 282 445 100 277 505 75 120 145
Character -s d a r d S r -r e r v e r . a w a i t : r e a d
Milliseconds 605 914 47 142 133 724 505 475 89 127 207 69 178 755 148 222 164 321 256 1083 210 266 146 51 123
Character : " , e ) ; c h = - 1 - ; } i f
Milliseconds 1238 215 900 755 371 648 793 976 252 623 184 990 134 170 733 337 220 764 540 144 1070 238 745 101 464
Character ( c h < 3 2 - ) / * C o n t r o l c h
Milliseconds 601 568 132 573 431 147 901 136 425 850 828 510 1218 110 188 619 110 169 268 91 208 433 193 225 150
Character a r a c t e r s -s o s - -s r E O F t e r m
Milliseconds 361 506 79 168 217 142 172 122 376 497 220 32 133 711 114 627 411 613 417 507 168 977 64 168 65
Character i n a t e s l o o p b r e a l ; -; -l k ; c o m
Milliseconds 186 153 61 160 70 165 139 543 234 105 155 202 205 229 138 48 617 184 522 111 624 238 1445 171 204
Character m -m -m -o -c c o m m a n d . a p p e n d ( ( c h a
Milliseconds 113 394 91 126 160 184 828 200 207 133 93 81 165 840 114 322 101 135 121 192 998 182 417 175 133
Character r ) c h ) ; e c x -x -c x p c -c e c t e d - - ;
Milliseconds 120 886 366 663 139 1015 505 1169 356 325 157 389 136 116 451 199 536 90 224 258 80 164 1242 102 1246
Character }
Milliseconds 550 472
WPM Timing
Seconds WPM
4.43 43.37
8.86 46.08
13.28 43.37
17.71 42.69
22.14 43.37
26.57 43.37
30.99 42.2
35.42 38.96
39.85 39.45
44.28 36.59
48.7 35.23
53.13 35.01
57.56 34.4
61.99 34.85
66.41 34.33
70.84 34.56
75.27 33.64
79.7 33.58
84.12 33.24
88.55 32.93
92.98 32.65
97.41 32.4
101.83 32.05
106.26 31.96
110.69 31.66
115.12 32.32
119.54 32.02
123.97 31.75
128.4 31.59
132.83 31.8
137.25 31.74
141.68 31.85
146.11 31.29
150.54 30.77
154.96 30.43
159.39 30.19
163.82 30.4
168.25 30.24
172.67 30.02
177.1 29.75
181.53 29.68
185.96 29.36
190.38 29.75
194.81 29.51
199.24 30.05
203.67 29.58
208.09 29.76
212.52 29.76
216.95 29.54
221.38 29.38