TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Faster Python in Docker via disabling some Docker security settings

1 pointsby socratesleeabout 5 years ago

1 comment

socratesleeabout 5 years ago
- On an Ubuntu host, the benchmark execution time in Docker was about twice the native time; this difference could be negated by modifying the security settings of the container - The difference was much smaller when running well-optimised code — rather than code with (unnecessary) for-loops - On a Windows host, Python code actually ran faster inside Docker, and the container security settings did not appear to affect execution speed as much
评论 #22371527 未加载