[cputime] doesn't work properly when compiled with emscripten
The [cputime] object doesn't work properly and always outputs 0 when compiled with emscripten.
The issue is caused by the
times() function from
sys/times.h not currently being supported/implemented in emscripten.
Here's the relevant post: https://github.com/emscripten-core/emscripten/issues/11491