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
commite15e58cc2fda7d9a6ed22fcb7be35e097d745c74 (patch)
treea40624325c03c82677e0ea243d3d8c0e8e6ffcb1
parent027c7a7622a4aa4d0ed6483ba495ab91e0c68991 (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