def to_s
      [
        "MethodProfiler results for: #{@name}",
        Hirb::Helpers::Table.render(
          to_a,
          headers: HEADERS.dup,
          fields: FIELDS.dup,
          filters: {
            min: :to_milliseconds,
            max: :to_milliseconds,
            average: :to_milliseconds,
            total_time: :to_milliseconds,
          },
          description: false
        )
      ].join("\n")
    end
def to_s
      [
        "MethodProfiler results for: #{@name}",
        Hirb::Helpers::Table.render(
          to_a,
          headers: HEADERS.dup,
          fields: FIELDS.dup,
          filters: {
            min: :to_milliseconds,
            max: :to_milliseconds,
            average: :to_milliseconds,
            total_time: :to_milliseconds,
          },
          description: false
        )
      ].join("\n")
    end
Sorts the data by the currently set criteria and returns a pretty printed table as a string.

 @return [String] A table of profiling results.