Performance of the Lua models after 0.1.0146

  • From: Dmitry Salychev <darkness.bsd@xxxxxxxxx>
  • To: mcusim-dev@xxxxxxxxxxxxx
  • Date: Thu, 14 Feb 2019 11:20:21 +0100

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

Other related posts: