Sha256: c4ce7ad25fc7ae85ee07344c081ff4dab024e59c8a40dd5be51d0d32f0e6f797
Contents?: true
Size: 739 Bytes
Versions: 1
Compression:
Stored size: 739 Bytes
Contents
--- prelude: | system("#{RbConfig.ruby} bin/rake compile", err: :out, exception: true) require "d_heap/benchmarks" include DHeap::Benchmarks fill_random_vals n = ENV.fetch("BENCH_N", 1000).to_i benchmark: - script: &script | q.clear i = 0 while i < n q << random_val i += 1 end name: "push N (findmin)" prelude: "q = initq FindMin" - script: *script name: "push N (bsearch)" prelude: "q = initq BSearch" - script: *script name: "push N (rb_heap)" prelude: "q = initq RbHeap" - script: *script name: "push N (c++ stl)" prelude: "q = initq CppSTL" - script: *script name: "push N (c_dheap)" prelude: "q = initq DHeap"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
d_heap-0.5.0 | benchmarks/push_n.yml |