From 7f7b29063d2f19a8bc2b229ae9b0ec82ce447cab Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Tue, 13 Aug 2013 08:12:05 +0200 Subject: version 3.6.3 * lane:cancel() only causes cancel_test() to return true but won't interrupt execution of the lane during linda operations * more explicit errors when trying to transfer unknown source functions (with new configure option verbose_errors) * default options wrap allocator around a mutex when run by LuaJIT --- tests/linda_perf.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/linda_perf.lua') diff --git a/tests/linda_perf.lua b/tests/linda_perf.lua index be582ce..ebe9eac 100644 --- a/tests/linda_perf.lua +++ b/tests/linda_perf.lua @@ -84,8 +84,10 @@ local tests = { 4000000, 0, 21}, { 4000000, 0, 44},]] } +print "tests #1" for k, v in pairs( tests) do local pre, loop, batch = v[1], v[2], v[3] + print( "testing", pre, loop, batch) print( pre, loop, batch, "duration = " .. ziva( pre, loop, batch)) end @@ -188,8 +190,11 @@ local tests2 = { 4000000, 0, 21}, { 4000000, 0, 44}, } + +print "tests #2" for k, v in pairs( tests2) do local pre, loop, batch = v[1], v[2], v[3] + print( "testing", pre, loop, batch) print( pre, loop, batch, "duration = " .. ziva2( pre, loop, batch)) end -- cgit v1.2.3-55-g6feb