Dimitry
Valued Contributor

I was wrong in interpreting the results. 

threading.get_native_id() does not work on serverless as on classic, so different threads return the same ID. 
The time it takes to execute the test is obviously less than 40 seconds, if it was running on a single thread.