Skip to content

[python3.8+] Update ecc.py to use time.perf_counter#1

Open
ZhulongNT wants to merge 7 commits intoYaoyaoBae:masterfrom
ZhulongNT:master
Open

[python3.8+] Update ecc.py to use time.perf_counter#1
ZhulongNT wants to merge 7 commits intoYaoyaoBae:masterfrom
ZhulongNT:master

Conversation

@ZhulongNT
Copy link
Copy Markdown

clock 方法在 Python 3.8 及更高版本中已被移除。如果您在代码中使用了 clock,需要将其替换为其他方法,例如 perf_counterprocess_time,具体取决于您的需求。

ZhulongNT and others added 7 commits May 12, 2025 16:40
`clock` 方法在 Python 3.8 及更高版本中已被移除。如果您在代码中使用了 `clock`,需要将其替换为其他方法,例如 `perf_counter` 或 `process_time`,具体取决于您的需求。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant