diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2025-03-14 14:53:09 +0100 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2025-03-14 14:53:09 +0100 |
commit | 512f4c0b46ea5cc359e673b7379cd81925863121 (patch) | |
tree | 1e72167d8d63f44109719db9643d4c0445b17d57 /tests/perftest.lua | |
parent | 0aa030db022c57947afbae3b97038a403973e3cd (diff) | |
download | lanes-master.tar.gz lanes-master.tar.bz2 lanes-master.zip |
Diffstat (limited to '')
-rw-r--r-- | tests/perftest.lua | 4 |
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 | -- |
139 | local f_even= lanes.gen( "base,coroutine,math,table,io", -- "*" = all | 139 | local 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 | ||
142 | local f_odd= lanes.gen( "base,coroutine,math,table,io", -- "*" = all | 142 | local 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 | ||
145 | io.stderr:write( "*** Counting primes 1.."..M.." "..N.." times ***\n\n" ) | 145 | io.stderr:write( "*** Counting primes 1.."..M.." "..N.." times ***\n\n" ) |
146 | 146 | ||