Skip to content

Commit

Permalink
0-11-stable: [snapshot]
Browse files Browse the repository at this point in the history
  • Loading branch information
elia committed Jun 4, 2018
1 parent 08721f1 commit 43ff4bb
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -78,7 +78,7 @@ matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
- env: RUN=smoke_test
- env: RUN=smoke_test REINSTALL_BUNDLER=true


before_install:
Expand Down
24 changes: 24 additions & 0 deletions benchmark-ips/bm_ancestors.rb
@@ -0,0 +1,24 @@
module Asciidoctor
module Logging
end

SetextSectionTitleRx = /something/

module Parser
include Logging

def self.m
SetextSectionTitleRx
end
end
end

Benchmark.ips do |x|;

x.report('while true') do
Asciidoctor::Parser.m
end

x.compare!
end

0 comments on commit 43ff4bb

Please sign in to comment.