new id bmarks

This commit is contained in:
BlackMATov
2026-01-26 17:46:22 +07:00
parent e9824a4776
commit 04c9e4aaeb
2 changed files with 22 additions and 0 deletions
+1
View File
@@ -16,6 +16,7 @@ require 'develop.testing.system_as_query_tests'
require 'develop.benchmarks.clone_bmarks'
require 'develop.benchmarks.common_bmarks'
require 'develop.benchmarks.id_bmarks'
require 'develop.benchmarks.migration_bmarks'
require 'develop.benchmarks.process_bmarks'
require 'develop.benchmarks.spawn_bmarks'
+21
View File
@@ -0,0 +1,21 @@
local evo = require 'evolved'
local basics = require 'develop.basics'
evo.debug_mode(false)
local N = 1000
print '----------------------------------------'
basics.describe_bench(string.format('Id Benchmarks: Acquire and Release %d ids', N),
function(tables)
for i = 1, N do
tables[i] = evo.id()
end
for i = 1, N do
evo.destroy(tables[i])
end
end, function()
return {}
end)