add polymorphism benchmark