3 ### The -t argument is needed to specify the type of task that you want to benchmark.
4 ### Supported values are CPU_INTENSIVE
6 taskType
='CPU_INTENSIVE'
16 echo 'Running bench for task type:' $taskType
17 export TASK_TYPE
=$taskType
19 export NODE_ENV
=production
21 export NUM_ITERATIONS
=100000
24 caffeinate .
/hyperfine_benchmarks.sh
27 systemd-inhibit .
/hyperfine_benchmarks.sh
30 echo "Unsupported $OSTYPE"