Add benchmark for typed array.