Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

time.clock has been deprecated and removed in python 3.8 in favor of time.perf_counter/process_time #7896

Closed
@tirkarthi

Description

Description

time.clock has been deprecated and removed in python 3.8 in favor of time.perf_counter/process_time . Reference : python/cpython#13270

Steps to reproduce

synapse/logging/utils.py
88:        start = time.clock()
95:            end = time.clock()

Metadata

Assignees

No one assigned

    Labels

    Z-Help-WantedWe know exactly how to fix this issue, and would be grateful for any contributionz-p3(Deprecated Label)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions