summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2025-10-01 00:41:01 +0800
committerruki <[email protected]>2025-10-01 00:41:01 +0800
commit672470e6e4ea7fd150354c131ba5fb60f7331643 (patch)
treea91bff5e4951d64e067999086a2600b86e25faa2
parent22c23c90d226bcea5d98c01789725f5796f91f82 (diff)
update tests
-rw-r--r--tests/benchmarks/hash.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/benchmarks/hash.lua b/tests/benchmarks/hash.lua
index 14fe24cfc..554f3f166 100644
--- a/tests/benchmarks/hash.lua
+++ b/tests/benchmarks/hash.lua
@@ -120,13 +120,13 @@ end
function test_random_uuid()
local h
- local n = COUNT / 10
+ local n = COUNT / 1000
local t = os.mclock()
for i = 1, n do
h = hash.uuid()
end
t = os.mclock() - t
- print("uuid(%d): %d ms, hash: %s", COUNT, t * 10, h)
+ print("uuid(%d): %d ms, hash: %s", COUNT, t * 1000, h)
end
function test_random32()