mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-03 22:20:56 +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
|
## Lua
|
||||||
`Low: 0.3569ms | High: 13.2664ms | Avg: 0.45843701ms | Total: 4584.3701ms (10000 queries)`
|
`Low: 0.3569ms | High: 13.2664ms | Avg: 0.45843701ms | Total: 4584.3701ms (10000 queries)`
|
||||||
```lua
|
```lua
|
||||||
|
local lmprof = require 'lmprof'
|
||||||
|
local profiler = lmprof.create("time")
|
||||||
|
:set_option("load_stack", true)
|
||||||
|
:set_option("mismatch", true)
|
||||||
|
:calibrate()
|
||||||
|
|
||||||
local val = 10000
|
local val = 10000
|
||||||
RegisterCommand('luasync', function()
|
RegisterCommand('luasync', function()
|
||||||
local queryTimesLocal = {}
|
local queryTimesLocal = {}
|
||||||
|
|||||||
Reference in new issue
Block a user