LuaJIT 的 -j选项在说明里 https://luajit.org/running.html 只有下面这些选项
-jon — Turns the JIT compiler on (default).
-joff — Turns the JIT compiler off (only use the interpreter).
-jflush — Flushes the whole cache of compiled code.
-jv — Shows verbose information about the progress of the JIT compiler.
-jdump — Dumps the code and structures used in various compiler stages.

但是我在项目https://github.com/starius/lua-lru 中看到
$ luajit -jp=v benchmark.lua lrucache
92% Compiled
8% Garbage Collector

这个 -jp=v是什么意思啊, 说明里没有啊, 好像可以显示代码有多少可以JIT

    2 months later
    Write a Reply...