#!include? ~6x faster than #none? in this use case

Benchmarks using ruby-head (2.2.0dev):

∴ ruby -v
ruby 2.2.0dev (2014-11-30 trunk 48655) [x86_64-darwin14]

require 'benchmark/ips'
namespace :benchmarks do
  desc "Benchmark `none?` versus `!include?`"
  task none_vs_include: :environment do
    Benchmark.ips do |x|
      asc_desc = %w(asc desc)
      new_dir  = 'asc'

      # To reduce overhead, the # of iterations is passed in
      # and the block runs the code the specific # of times.
      # Used for when the workload is very small and any
      # overhead introduces incorrectable errors.

      x.report('none?') do |times|
        i = 0
        while i < times
          asc_desc.none? { |d| d == new_dir }
          i += 1
        end
      end

      x.report(‘!include?') do |times|
        i = 0
        while i < times
          !asc_desc.include?(new_dir)
          i += 1
        end
      end

      x.compare!
    end
  end
end

∴ rake benchmarks:none_vs_include
Calculating -------------------------------------
               none?    29.922k i/100ms
           !include?    36.534k i/100ms
-------------------------------------------------
               none?      2.721M (±14.4%) i/s -     13.315M
          !include?     16.570M (± 4.9%) i/s -     82.457M

Comparison:
          !include?: 16569844.0 i/s
               none?:  2721399.3 i/s - 6.09x slower