[bench] Add prelimiarny benchmark
[optim] Move TypedArray allocation outside xorshift()