Added code for benchmarking.

Signed-off-by: Rohith Chandran <rohithX@gmail.com>