Add performance evaluation suite

1. add performance evaluation
2. add rand support for mac osx