nats bench kv put --size="128" --msgs 1000000 --storage file
1m3s → Pub stats: 15,656 msgs/sec ~ 1.91 MB/sec
nats bench kv get --size="128" --msgs 1000000
59s → Sub stats: 16,720 msgs/sec ~ 2.04 MB/sec
I have personally not used this though. import time
import pyautogui
def rapid_click_for_300_seconds(interval: float = 0.01) -> None:
pyautogui.FAILSAFE = True
print("Clicking will start in 2 seconds...")
time.sleep(2)
print("Clicking started. Move the cursor wherever you want.")
end_time = time.monotonic() + 300
try:
while time.monotonic() < end_time:
pyautogui.click()
#time.sleep(interval)
except pyautogui.FailSafeException:
print("Stopped because the cursor was moved to a screen corner.")
return
print("Finished clicking.")
if __name__ == "__main__":
rapid_click_for_300_seconds()
I also maintain these sites for npm related attacks (since there have been so many since past 1.5 years):
1. Techniques exploited: https://npm-supply-chain-attack-techniques.pagey.site/
2. Documented attacks: https://npm-supply-chain-attacks-25-26.pagey.site/