请问两种部署方式会有性能差异吗? #126
Answered
by
criyle
AlPacino233
asked this question in
Q&A
请问两种部署方式会有性能差异吗?
#126
-
我这边两台服务器,部署方式不同,一台是下载对应文件编译运行的,一台是docker部署的,现在我两台服务器判题时提交相同的代码, 输入测试点也是一样,docker部署运行时间要12s左右,编译运行的只需要5s,这种情况是部署差异导致的吗?还是说docker部署的时候有什么配置,限制了使用率 |
Beta Was this translation helpful? Give feedback.
Answered by
criyle
Dec 13, 2024
Replies: 1 comment 1 reply
-
docker部署的那台服务器硬件规格甚至比另一台要高 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
也要考虑 docker 是怎么部署的,比如 docker desktop 是虚拟机而不是容器