aboutsummaryrefslogtreecommitdiff
path: root/tests/perftest.lua
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2025-03-14 14:53:09 +0100
committerBenoit Germain <benoit.germain@ubisoft.com>2025-03-14 14:53:09 +0100
commit512f4c0b46ea5cc359e673b7379cd81925863121 (patch)
tree1e72167d8d63f44109719db9643d4c0445b17d57 /tests/perftest.lua
parent0aa030db022c57947afbae3b97038a403973e3cd (diff)
downloadlanes-master.tar.gz
lanes-master.tar.bz2
lanes-master.zip
Give a name to all lanes in the testsHEADmaster
Diffstat (limited to '')
-rw-r--r--tests/perftest.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/perftest.lua b/tests/perftest.lua
index 35f522c..fe43cca 100644
--- a/tests/perftest.lua
+++ b/tests/perftest.lua
@@ -137,10 +137,10 @@ end
137-- Keep preparation code outside of the performance test 137-- Keep preparation code outside of the performance test
138-- 138--
139local f_even= lanes.gen( "base,coroutine,math,table,io", -- "*" = all 139local f_even= lanes.gen( "base,coroutine,math,table,io", -- "*" = all
140 { priority= PRIO_EVEN }, sieve_lane ) 140 { name = 'auto', priority= PRIO_EVEN }, sieve_lane )
141 141
142local f_odd= lanes.gen( "base,coroutine,math,table,io", -- "*" = all 142local f_odd= lanes.gen( "base,coroutine,math,table,io", -- "*" = all
143 { priority= PRIO_ODD }, sieve_lane ) 143 { name = 'auto', priority= PRIO_ODD }, sieve_lane )
144 144
145io.stderr:write( "*** Counting primes 1.."..M.." "..N.." times ***\n\n" ) 145io.stderr:write( "*** Counting primes 1.."..M.." "..N.." times ***\n\n" )
146 146