Hi!
I just made a simple test performance between native script and kemi/lua with the event_route[core:msg-received] callback.
# lua script children=1 cpu.process=100% function ksr_core_received() exit; end
# native script children=1 cpu.process=70% event_route[core:msg-received] { exit; }
# tested with udp 5060, 1000 Mbits/sec iperf -c 127.0.0.1 -p 5060 -u -b1000m
I don't know if it's normal and what we should expect from kemi, but I would like to share this with you. Maybe someone could confirm the performance difference.
Have a good day !