Remove perf_counter

Copy pasted from an old project, we don't need that here
This commit is contained in:
Yohan Boniface 2019-04-09 19:09:26 +02:00
parent 6f8d9247c4
commit b190f1dd4e

View file

@ -1,6 +1,5 @@
import csv import csv
from pathlib import Path from pathlib import Path
from time import perf_counter
import ujson as json import ujson as json
import minicli import minicli
@ -361,15 +360,6 @@ def shell():
) )
@minicli.wrap
def cli_wrapper():
configure()
start = perf_counter()
yield
elapsed = perf_counter() - start
print(f"Done in {elapsed:.5f} seconds.")
@minicli.cli @minicli.cli
def serve(reload=False): def serve(reload=False):
"""Run a web server (for development only).""" """Run a web server (for development only)."""