
nodemcu-firmware系统调用开销分析:性能优化方向
nodemcu-firmware基于Lua解释器构建,系统调用主要通过`lua_pcall`和`lua_call`系列函数实现。这些调用在Lua虚拟机与C扩展模块之间建立桥梁,但也带来不可忽视的性能开销。核心调用路径集中在`lua_pcallk`函数([app/lua53/lapi.c](https://link.gitcode.com/i/b9ec3bea031a5fd4cb8f4968186b...



