mirror of
https://github.com/almet/copanier.git
synced 2025-04-28 19:42:37 +02:00
Remove perf_counter
Copy pasted from an old project, we don't need that here
This commit is contained in:
parent
6f8d9247c4
commit
b190f1dd4e
1 changed files with 0 additions and 10 deletions
|
@ -1,6 +1,5 @@
|
|||
import csv
|
||||
from pathlib import Path
|
||||
from time import perf_counter
|
||||
|
||||
import ujson as json
|
||||
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
|
||||
def serve(reload=False):
|
||||
"""Run a web server (for development only)."""
|
||||
|
|
Loading…
Reference in a new issue