Sha256: e29f9fcdab3dd4ff0b58e2744d87eb65da2f7853186a495553476a84e66e845b
Contents?: true
Size: 345 Bytes
Versions: 1
Compression:
Stored size: 345 Bytes
Contents
require "dimapa" require "benchmark" text1 = File.read("scripts/speedtest/speedtest1.txt") text2 = File.read("scripts/speedtest/speedtest2.txt") dmp = DiMaPa.new dmp.diff_timeout = 0.0 Benchmark.bm(7) do |x| x.report("diff(t2,t1)") { dmp.diff_main(text2, text1, false) } x.report("diff(t1,t2)") { dmp.diff_main(text1, text2, false) } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dimapa-0.1.0 | scripts/speedtest.rb |