mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 06:28:54 +00:00
formatting and typos
This commit is contained in:
1 parent
75698216e0
commit
724c7e356d
99 files changed
+515
-305
No files matched your search
@@ -1,16 +1,19 @@
|
||||
# Benchmark
|
||||
|
||||
Internal benchmark
|
||||
```
|
||||
|
||||
```md
|
||||
Low: 0.1222ms | Avg: 0.14188357ms | Total: 1418.8357ms (10000 queries)
|
||||
```
|
||||
|
||||
Round-trip-time for exports
|
||||
```
|
||||
|
||||
```md
|
||||
Low: 0.1997ms | Avg: 0.25898800ms | Total: 2589.8800ms (10000 queries)
|
||||
```
|
||||
|
||||
#### Lua (5.4)
|
||||
## Lua (5.4)
|
||||
|
||||
```lua
|
||||
local val = 10000
|
||||
RegisterCommand('luasync', function()
|
||||
@@ -38,7 +41,8 @@ RegisterCommand('luasync', function()
|
||||
end)
|
||||
```
|
||||
|
||||
#### JavaScript
|
||||
## JavaScript
|
||||
|
||||
```js
|
||||
const val = 10000
|
||||
RegisterCommand('jssync', async() => {
|
||||
@@ -60,4 +64,4 @@ RegisterCommand('jssync', async() => {
|
||||
console.log(result)
|
||||
console.log('Low: '+ queryMsLow +'ms | Avg: '+averageQueryTime+'ms | Total: '+queryMsSum+'ms ('+queryTimesLocal.length+' queries)')
|
||||
})
|
||||
```
|
||||
```
|
||||
Reference in new issue
Block a user