option benchmark code