Inlined kernel functions to avoid measuring call overhead when JS engine doesn't do the inlining