Sha256: 3d32aa7c7b478b97cd9be0dca95c75df84d769f9c73e9b66eb2107ed3a23d4aa
Contents?: true
Size: 585 Bytes
Versions: 4
Compression:
Stored size: 585 Bytes
Contents
# Date - 28 june 2016. daru version - 0.1.3.1 # Compare speed of Ruby stdlib CSV and DataFrame.from_csv. require 'benchmark' require 'csv' require 'daru_lite' Benchmark.bm do |x| x.report("Ruby CSV") do CSV.read("TradeoffData.csv") end x.report("DataFrame.from_csv") do DaruLite::DataFrame.from_csv("TradeoffData.csv") end end # FIXME: Improve this. It's 4 times slower than Ruby CSV reading!! # user system total real # Ruby CSV 0.010000 0.000000 0.010000 ( 0.002385) # DataFrame.from_csv 0.000000 0.000000 0.000000 ( 0.008225)
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
daru_lite-0.1.3 | benchmarks/csv_reading.rb |
daru_lite-0.1.2 | benchmarks/csv_reading.rb |
daru_lite-0.1.1 | benchmarks/csv_reading.rb |
daru_lite-0.1 | benchmarks/csv_reading.rb |