aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorame <[email protected]>2024-07-11 12:33:10 -0500
committerame <[email protected]>2024-07-11 12:33:10 -0500
commit5eb06c6392931f84a2cf254627de0a10467ef99c (patch)
treea40624325c03c82677e0ea243d3d8c0e8e6ffcb1
parentc57e5e58e197fca322c2840efa435eabb62e4d9d (diff)
stress test
-rw-r--r--tests/s.lua14
1 files changed, 8 insertions, 6 deletions
diff --git a/tests/s.lua b/tests/s.lua
index 01ca4f7..065408a 100644
--- a/tests/s.lua
+++ b/tests/s.lua
@@ -3,11 +3,13 @@ local t = function (a) end
require "llib"
local a = llib.crypto.md5()
+--llib.io.pprint(_ENV.a)
-b = llib.thread.buffer(a)
+for i = 1,200 do
+ awa = function(a) end
+ llib.thread.async(awa):await()
+end
-b:mod(function(e)
- return e:update("meow")
-end)
-
-print(b:get():final())
+if a:final() ~= "d41d8cd98f00b204e9800998ecf8427e" then
+ print(a:final())
+end