Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import速度太慢了 #29

Open
ramwin opened this issue Oct 25, 2023 · 4 comments
Open

import速度太慢了 #29

ramwin opened this issue Oct 25, 2023 · 4 comments

Comments

@ramwin
Copy link

ramwin commented Oct 25, 2023

image

import竟然要3.5秒.

@swyuniQE
Copy link

测试是0.15s

@ramwin
Copy link
Author

ramwin commented Oct 26, 2023

image
我这边测试是3.69秒

@swyuniQE
Copy link

Python 3.8.8 (tags/v3.8.8:024d805, Feb 19 2021, 13:18:16) [MSC v.1928 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

import time
start=time.time();import obs;end =time.time();print(end -start );
0.1545875072479248

@ramwin
Copy link
Author

ramwin commented Oct 26, 2023

Python 3.8.8 (tags/v3.8.8:024d805, Feb 19 2021, 13:18:16) [MSC v.1928 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information.

import time
start=time.time();import obs;end =time.time();print(end -start );
0.1545875072479248

是不是环境问题呢. 我是linux, 你是windows. 或者你们内部有跟踪日志会上传到某个内部服务器, 其他地方访问不了就timeout. 你断网后import试试
image

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

No branches or pull requests

2 participants