timing-asgi
timing-asgi copied to clipboard
ModuleNotFoundError: No module named 'resource' on Windows
get_cpu_time() uses the Unix only resource package.
Instead of raising an exception, I'd expect a warning message and a different method of calculating cpu time, or even set cpu_time to 0.
I am also facing the same error. on windows.