mirror of
https://github.com/BlackMATov/evolved.lua.git
synced 2025-12-15 12:19:47 +07:00
update bench results
This commit is contained in:
@@ -137,6 +137,10 @@ end, function()
|
|||||||
return f1, f2, f3, {}
|
return f1, f2, f3, {}
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
---
|
||||||
|
--- initial
|
||||||
|
---
|
||||||
|
|
||||||
--[[ lua 5.1
|
--[[ lua 5.1
|
||||||
| create and destroy 1k entities ... |
|
| create and destroy 1k entities ... |
|
||||||
PASS | us: 312.60 | op/s: 3199.00 | kb/i: 0.05
|
PASS | us: 312.60 | op/s: 3199.00 | kb/i: 0.05
|
||||||
@@ -158,3 +162,29 @@ end)
|
|||||||
| create and destroy 1k entities with three components ... |
|
| create and destroy 1k entities with three components ... |
|
||||||
PASS | us: 611.62 | op/s: 1635.00 | kb/i: 0.17
|
PASS | us: 611.62 | op/s: 1635.00 | kb/i: 0.17
|
||||||
]]
|
]]
|
||||||
|
|
||||||
|
---
|
||||||
|
--- unpack ids without dedicated functions
|
||||||
|
---
|
||||||
|
|
||||||
|
--[[ lua 5.1
|
||||||
|
| create and destroy 1k entities ... |
|
||||||
|
PASS | us: 255.40 | op/s: 3915.42 | kb/i: 0.04
|
||||||
|
| create and destroy 1k entities with one component ... |
|
||||||
|
PASS | us: 1248.45 | op/s: 801.00 | kb/i: 0.50
|
||||||
|
| create and destroy 1k entities with two components ... |
|
||||||
|
PASS | us: 2208.79 | op/s: 452.74 | kb/i: 0.73
|
||||||
|
| create and destroy 1k entities with three components ... |
|
||||||
|
PASS | us: 3278.69 | op/s: 305.00 | kb/i: 1.37
|
||||||
|
]]
|
||||||
|
|
||||||
|
--[[ luajit 2.1
|
||||||
|
| create and destroy 1k entities ... |
|
||||||
|
PASS | us: 12.12 | op/s: 82482.59 | kb/i: 0.00
|
||||||
|
| create and destroy 1k entities with one component ... |
|
||||||
|
PASS | us: 69.05 | op/s: 14482.59 | kb/i: 0.03
|
||||||
|
| create and destroy 1k entities with two components ... |
|
||||||
|
PASS | us: 400.40 | op/s: 2497.51 | kb/i: 0.09
|
||||||
|
| create and destroy 1k entities with three components ... |
|
||||||
|
PASS | us: 574.71 | op/s: 1740.00 | kb/i: 0.14
|
||||||
|
]]
|
||||||
|
|||||||
Reference in New Issue
Block a user