<html><body><div>hi:</div><div> i have a job written in c module and in lua module,</div><div> i tested that two module by independent luajit and by suricata luajit,</div><div> ,the test on the two luajit evironment runs with two different dataset</div><div><br></div><div> and the result is :</div><div>independent luajit:</div><div> c module: 12s lua: 68s</div><div>suricata luajit: suricata rule use luajit keyword</div><div> c<span style="color: #000000; font-family: SFNSText, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;" data-mce-style="color: #000000; font-family: SFNSText, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"><span> </span>module</span>: 20s lua: 15s</div><div><br data-mce-bogus="1"></div><div>suricata version: 4.1.2, luajit so version 5.1</div><div>luajit version :2.1.0-beta3</div><div><br data-mce-bogus="1"></div><div>why is the result reversed?</div><div>what could i do to improve the performace of suricata luajit's c module?</div><div><br data-mce-bogus="1"></div><div>thank you for help!</div><div><br data-mce-bogus="1"></div></body></html>