In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly introduces how to use batch processing to achieve the response speed testing tool, the article introduces in great detail, has a certain reference value, interested friends must read it!
The code is as follows:
:: this tool should be run as an administrator under Win7 and Vista!
@ echo off
Cd. >% windir%\ time.log
Set n =
: start
Mode con cols=45 lines=14
Title reaction speed testing tool
Color 8a
Set a =
Set b =
Set s =
Set/a naughty 1
Set tweets% timeslot 9 1%
Cls&echo.&echo.&echo.
Echo.
Echo.
Echo reaction speed testing tool
Echo.
Echo when the window turns red, press enter quickly, and the program will
Echo.
Echo tests your reaction speed and shows it with an accuracy of 0.01s.
Echo.
The reaction speed of echo Johnny.R is 0.11 seconds, let's see if you can surpass him.
Echo.
Echo to see the average reaction speed, please press Q
Echo.
Echo press enter to start the test
Echo.
Set / p s =
If "% s%" = = "Q" goto pingjun
If "% s%" = = "Q" goto pingjun
Cls
Mode con cols=23 lines=6
Title begins testing.
Echo.&echo.
Color 0a
Ping-n% t% 127.1 > nul
Color 4a
Set aversion% timedivision 3, 2%, 6, 2, 2%, 9, 2, 2%
Pause > nul
Set bundles% timeslot 3, 2%, 6, 6, 2%, 9, 2%.
Set / a bmurf
Subtract the operation speed of 0.01 seconds when the program is running
Set / a bmurf 1
Echo.&echo.
If "% bvuan0pl 1" = "% bjr 0pr 2%" goto end3
If "% bpart 0J 2%" = "% bpart 0J 3%" goto end1
If not "% bpart 0J 2%" = "% bpart 0J 3%" goto end2
:: result
: end1
Title test results
Cls&echo.&echo.
Echo, your reaction speed is 0% b% s.
Echo.
If "% bjlv 0J 1%" = "2" echo may be faster.
I adore you so much, if "% bvuanju 0J 1%" = "1" echo!
Echo% b% >% windir%\ time.log
Echo presses any key to start over.
Pause > nul
Goto start
: end2
Title test results
Cls&echo.&echo.
Echo your reaction speed is 1%.% borel 1.% 2 seconds.
Echo.
Echo% b% >% windir%\ time.log
Echo, I finally see the legendary "snail"!
Echo presses any key to start over.
Pause > nul
Goto start
: end3
Title test results
Cls&echo.
Echo, your reaction speed is 0. 0% b% s.
Echo.
Echo, you are a god!
Echo.
Echo% b% >% windir%\ time.log
Echo presses any key to start over.
Pause > nul
Goto start
: end4
Cls&echo.
Echo, your average reaction speed is 0. 0% p% s.
Echo.
Echo, you are my idol!
Echo.
Echo presses any key to start over.
Pause > nul
Goto start
: end5
Cls&echo.
Echo, your average reaction speed is 0% p% s.
Echo.
If "% pvv echo 1%" = "2" Nice echo, come on ~
If "% pvv echo 1%" = "1" Whoa.. A new generation of sniper gods ~
Echo.
Echo presses any key to start over.
Pause > nul
Goto start
: end6
Cls&echo.
Echo your average reaction speed is 1%.% pVR 1. 2 seconds.
Echo.
Echo, I advise you to give up CS.
Echo.
Echo presses any key to start over.
Pause > nul
Goto start
: pingjun
Cls
Set/a nmurf 1
Set k =
For / f% I in (% windir%\ time.log) do (
Set / a knight%% I
)
Set / a p=k/n
Title average speed
Mode con cols=25 lines=8
Color 0a
If "% pVRAPH0J 1%" = = "% pVOB0pIAND 2%" goto end4
If "% pVRO 0J 2%" = = "% P V V 0J 3%" goto end5
If not "% pVRO 0J 2%" = = "% P V V 0J 3%" goto end6
Echo unknown error.
Ping-n 2 127.1 > nul
Goto start
The above is all the content of this article, "how to use batch reaction speed testing tool". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.