Performance issue with specifying random number generator

Ref: