11. “The Cloud Functions Node.js 8 runtime is
based on Node.js version 8.11.1.
11
update(7/24)
The Node.js 8 Runtime
【参考】Firebase Functions で Node.js 8 使えるようになったぞ〜〜〜!!!
https://qiita.com/jgs/items/f8b781801f0b1646cab7
21. https://stackoverflow.com/questions/42726870/firebase-cloud-functions-is-very-slow
21
Q. Firebase cloud functions is very slow
“When your function hasn't been executed in some time, Cloud Functions puts it
in a mode that uses fewer resources. Then when you hit the function again, it
restores the environment from this mode. The time it takes to restore consists of
a fixed cost (e.g. restore the container) and a part variable cost (e.g. if you use a lot
of node modules, it may take longer).”
(超訳)あまり使われてないfunctionsはコンテナを停止させる
から復帰に時間かかるぞ。