Re: Performance of the Lua models after 0.1.0146

  • From: Pawel Obarzanek <paweo90@xxxxxxxxx>
  • To: mcusim-dev@xxxxxxxxxxxxx
  • Date: Thu, 14 Feb 2019 11:35:53 +0100

That's insane! You're great :D

czw., 14 lut 2019 o 11:20 Dmitry Salychev <darkness.bsd@xxxxxxxxx>
napisał(a):

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

Other related posts: