Hi Pawel, everyone.
Take a look at the flamegraphs attached to the letter. They're eloquent
even on their own. Part of MSIM_AVR_LUATickModels() dropped from ~25%
down to ~7.5% which can be compared with MSIM_AVR_Step() (~5%).
It means that running Lua models became as efficient as a compiled C
code which executes AVR instructions.
Regards,
Dmitry
Attachment:
mcusim-0.1.0143_without_caching.svg
Description: image/svg
Attachment:
mcusim-0.1.0146_with_caching_module_tick.svg
Description: image/svg