Sha256: 259060bbf1a067b91dc1b6efc15b20fd7cad2c6c628303c569706babbad0543c

Contents?: true

Size: 331 Bytes

Versions: 1

Compression:

Stored size: 331 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

require 'bundler/setup'
require 'csvpp'

require 'ruby-prof'

f = CSVPP::Format.load(ARGV[0])
result = RubyProf.profile do
  CSVPP::Parser.parse(
    input: ARGV[1],
    format: f,
    convert_type: false
  )
end

printer = RubyProf::FlatPrinter.new(result)
printer.print(STDOUT)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
csvpp-0.4.0 bin/profile