MacOS Intel, Erlang 24, ./dev/run -n1
Script: https://gist.github.com/nickva/c0cbf6a556cc2dc7dd6ee79f504f5f84
QUICKJS (Integrated bytecode)
./stampede_dbs_ddocs_vdus.py -x 10 -n 100 -w 20 -t 3 0.96s user 0.18s system 7% cpu 16.227 total
./stampede_dbs_ddocs_vdus.py -x 10 -n 100 -w 20 -t 3 0.99s user 0.19s system 7% cpu 15.606 total
./stampede_dbs_ddocs_vdus.py -x 10 -n 100 -w 20 -t 3 0.94s user 0.18s system 7% cpu 15.488 total
./stampede_dbs_ddocs_vdus.py -x 10 -n 100 -w 20 -t 3 1.01s user 0.19s system 7% cpu 16.410 total
./stampede_dbs_ddocs_vdus.py -x 10 -n 100 -w 20 -t 3 0.93s user 0.17s system 7% cpu 15.370 total
Memory usage 5MB-7MB RSS (based on btop output)
MAIN SM 1.8.5
./stampede_dbs_ddocs_vdus.py -x 10 -n 100 -w 20 -t 3 1.33s user 0.25s system 2% cpu 1:06.80 total
./stampede_dbs_ddocs_vdus.py -x 10 -n 100 -w 20 -t 3 1.31s user 0.24s system 2% cpu 1:05.80 total
./stampede_dbs_ddocs_vdus.py -x 10 -n 100 -w 20 -t 3 1.32s user 0.24s system 2% cpu 1:04.34 total
./stampede_dbs_ddocs_vdus.py -x 10 -n 100 -w 20 -t 3 1.31s user 0.23s system 2% cpu 1:03.00 total
./stampede_dbs_ddocs_vdus.py -x 10 -n 100 -w 20 -t 3 1.34s user 0.25s system 2% cpu 1:13.93 total
MAIN SM 91
./stampede_dbs_ddocs_vdus.py -x 10 -n 100 -w 20 -t 3 1.11s user 0.21s system 1% cpu 1:31.13 total
./stampede_dbs_ddocs_vdus.py -x 10 -n 100 -w 20 -t 3 1.09s user 0.20s system 1% cpu 1:24.22 total
./stampede_dbs_ddocs_vdus.py -x 10 -n 100 -w 20 -t 3 1.10s user 0.21s system 1% cpu 1:35.53 total
./stampede_dbs_ddocs_vdus.py -x 10 -n 100 -w 20 -t 3 1.06s user 0.20s system 1% cpu 1:20.57 total
./stampede_dbs_ddocs_vdus.py -x 10 -n 100 -w 20 -t 3 1.07s user 0.20s system 1% cpu 1:22.06 total
Memory usage: 30-32MB RSS (based on btop output)