Sha256: 9bce3ba2d1bc721db51bf6d15319a5084aeff201f08ff5e285dbc40ab37a2f41

Contents?: true

Size: 246 Bytes

Versions: 43

Compression:

Stored size: 246 Bytes

Contents

# A benchmark for the bit string generation in case of signed values.
system :bstr_bench do
    signed[7..0].inner :val

    timed do
        val <= 0
        !10.ns
        val <= 26
        !10.ns
        val <= -25
        !10.ns
    end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
HDLRuby-2.10.5 lib/HDLRuby/hdr_samples/bstr_bench.rb
HDLRuby-2.10.3 lib/HDLRuby/hdr_samples/bstr_bench.rb
HDLRuby-2.10.2 lib/HDLRuby/hdr_samples/bstr_bench.rb
HDLRuby-2.9.0 lib/HDLRuby/hdr_samples/bstr_bench.rb
HDLRuby-2.8.1 lib/HDLRuby/hdr_samples/bstr_bench.rb
HDLRuby-2.7.11 lib/HDLRuby/hdr_samples/bstr_bench.rb
HDLRuby-2.7.5 lib/HDLRuby/hdr_samples/bstr_bench.rb
HDLRuby-2.7.1 lib/HDLRuby/hdr_samples/bstr_bench.rb
HDLRuby-2.6.25 lib/HDLRuby/hdr_samples/bstr_bench.rb
HDLRuby-2.6.24 lib/HDLRuby/hdr_samples/bstr_bench.rb
HDLRuby-2.6.23 lib/HDLRuby/hdr_samples/bstr_bench.rb
HDLRuby-2.6.22 lib/HDLRuby/hdr_samples/bstr_bench.rb
HDLRuby-2.6.19 lib/HDLRuby/hdr_samples/bstr_bench.rb
HDLRuby-2.6.18 lib/HDLRuby/hdr_samples/bstr_bench.rb
HDLRuby-2.6.16 lib/HDLRuby/hdr_samples/bstr_bench.rb
HDLRuby-2.6.15 lib/HDLRuby/hdr_samples/bstr_bench.rb
HDLRuby-2.6.10 lib/HDLRuby/hdr_samples/bstr_bench.rb
HDLRuby-2.6.8 lib/HDLRuby/hdr_samples/bstr_bench.rb
HDLRuby-2.6.5 lib/HDLRuby/hdr_samples/bstr_bench.rb
HDLRuby-2.6.4 lib/HDLRuby/hdr_samples/bstr_bench.rb