Profile a single prespecified method and print time