I had some lua code running on openresty ( nginx version: openresty/1.13.6.2built by gcc 4.8.5 20150623) and to speed up things I tried
and I saw significant performance improvement on my local VM, but when I tried the same change in production, didn't notice any significant boost
Following @agentzh on some threads, I tried these options as well
require "jit".opt.start("minstitch=3")
require "resty.core"
but to avail no performance boost.
When I used stapxx utils on my local VM I could see a lot of samples were running in compiled mode but in production that was not happening.
What could be the reason, it exact same code.