Skip to content

容器执行性能优化 #30

Description

@yhh2908307500

经过测试,发现每次执行都会销毁旧的容器,新建一个容器去运行新的代码,其实这样开销会比较大;
基于历史的容器,在每次执行新代码时,进行重启,性能会不会好一点呢?

菜鸟教程在线运行的代码,测试发现是一直使用两个容器交替执行,可以参考一下。
https://www.runoob.com/try/runcode.php?filename=HelloWorld&type=python3

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions