Text this: A comparative study on dynamic mechanical performance of concrete and rock