cloudpipe / cloudpipe/cloudpickle

Why is the first deserialization slow in the container?

未关闭
#421 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
1.9k
派生
195
平均合并
1 天 10 小时
30 天内合并 PR
1

描述

The serialized function is complex, which introduce some dependencies, but the number of lines of code for the overall function is not long.
![image](https://user-images.githubusercontent.com/29364768/117746219-9d32ca00-b23e-11eb-8d69-653ea7e7be77.png)
Running outside the container is as fast as a non-first run inside the container, What should I do to speed up the first deserialization in a container?

贡献指南

这个仓库没有索引到贡献指南

调研方向

该 issue 没有指定源文件或测试。首先,在容器内外复现首次及后续反序列化的耗时,然后跟踪已序列化的函数及其依赖项,以隔离首次运行的开销。完成的标准是容器内的首次反序列化在可测量的程度上更快,并且已记录该比较结果。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
backend, performance
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。