Hey, it seems that RocksDB is super slow on FXServer compared to the performance of the benchmarks
Simple repro script:
CreateThread(function()
-- KVP test
local prefix = "caching_"
local start = os.clock()
print(start)
for i = 0, 1000 do
SetResourceKvp(prefix .. i, "s")
end
print('end ' .. os.clock())
print(os.clock() - start)
end)
This simple script takes on average 30 seconds to complete
I think what you’re indirectly trying to ask is whether additional native arguments for SetResourceKvp to control said write options (although, consider ABI compat), or even an additional asynchronous API (e.g., SetAsyncResourceKvp FlushAsyncKvp), would be accepted as a PR.