aboutsummaryrefslogtreecommitdiffstats
path: root/vpp-api/lua/bench.lua
diff options
context:
space:
mode:
Diffstat (limited to 'vpp-api/lua/bench.lua')
-rw-r--r--vpp-api/lua/bench.lua7
1 files changed, 2 insertions, 5 deletions
diff --git a/vpp-api/lua/bench.lua b/vpp-api/lua/bench.lua
index edff32b90d6..8e5a0b4b101 100644
--- a/vpp-api/lua/bench.lua
+++ b/vpp-api/lua/bench.lua
@@ -53,12 +53,9 @@ function do_bench()
end
root_dir = "/home/ubuntu/vpp"
-pneum_path = root_dir .. "/build-root/install-vpp_debug-native/vpp-api/lib64/libpneum.so"
-
+pneum_path = root_dir .. "/build-root/install-vpp_lite_debug-native/vpp-api/lib64/libpneum.so"
vpp:init({ pneum_path = pneum_path })
-
-vpp:consume_api(root_dir .. "/build-root/install-vpp_debug-native/vlib-api/vlibmemory/memclnt.api")
-vpp:consume_api(root_dir .. "/build-root/install-vpp_debug-native/vpp/vpp-api/vpe.api")
+vpp:json_api(root_dir .. "/build-root/install-vpp_lite_debug-native/vpp/vpp-api/vpe.api.json")
vpp:connect("lua-bench")
local n_tests = 10