File: testflask-driver.py

package info (click to toggle)
scalene 1.5.51-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 15,528 kB
  • sloc: cpp: 22,930; python: 13,403; javascript: 11,769; ansic: 817; makefile: 196; sh: 45
file content (11 lines) | stat: -rwxr-xr-x 171 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
import os
import time

from random import random
from requests import get

iter = 1
while True:
    print(iter)
    iter += 1
    get(f"http://localhost:5000/{random()}")