开发者社区 > 云原生 > Serverless > 正文

这是不是相当于初始化了7s?有Initializer回调。PHP7.2,换成8的会不会好一点?

{"time":1674986908966,"level":"Normal","type":"fc:Instance:Creating","message":"Start to create instance c-63d6459b-7ad50113d56b4446806f of function listview","children":[{"time":1674986908970,"level":"Normal","type":"fc:Instance:PrepareCodeSuccess","message":"Successfully prepared code for instance c-63d6459b-7ad50113d56b4446806f in 3 ms after optimizations"},{"time":1674986916177,"level":"Normal","type":"fc:Instance:RuntimeInitializationSuccess","message":"Successfully started the instance c-63d6459b-7ad50113d56b4446806f and performed health check in 7206 ms"}]},{"time":1674986916177,"level":"Normal","type":"fc:Instance:CreateSuccess","message":"Successfully created instance c-63d6459b-7ad50113d56b4446806f of function listview totally in 7210 ms"}

这是不是相当于初始化了7s?有Initializer回调。PHP7.2,换成8的会不会好一点?

展开
收起
百问录 2023-01-30 08:42:26 321 0
1 条回答
写回答
取消 提交回答
  • 应该不是版本的原因吧,可以试下。您截图下调用链看看

    回答8.png

    此答案来自钉钉群“阿里函数计算官网客户"

    2023-01-30 08:47:11
    赞同 展开评论 打赏
问答分类:
问答标签:
问答地址:

快速交付实现商业价值。

相关电子书

更多
PHP 2017.北京 全球开发者大会——高可用的PHP 立即下载
PHP安全开发:从白帽角度做安全 立即下载
复杂PHP系统性能瓶颈排查及优化 立即下载