mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-01 22:21:51 +00:00
Update benchmark.md
This commit is contained in:
1 parent
65e2ea328e
commit
3cebb9e28b
1 file changed
+6
@@ -3,6 +3,12 @@ Some hideous benchmarking commands and their results.
|
||||
## Lua
|
||||
`Low: 0.3569ms | High: 13.2664ms | Avg: 0.45843701ms | Total: 4584.3701ms (10000 queries)`
|
||||
```lua
|
||||
local lmprof = require 'lmprof'
|
||||
local profiler = lmprof.create("time")
|
||||
:set_option("load_stack", true)
|
||||
:set_option("mismatch", true)
|
||||
:calibrate()
|
||||
|
||||
local val = 10000
|
||||
RegisterCommand('luasync', function()
|
||||
local queryTimesLocal = {}
|
||||
|
||||
Reference in new issue
Block a user