Merge pull request #5505 from fene/master

Merge pull request 5505
This commit is contained in:
jekyllbot 2016-10-24 14:48:04 -07:00 committed by GitHub
commit bc5e59ca3e
12 changed files with 9 additions and 0 deletions

1
benchmark/capture-assign.rb Normal file → Executable file
View File

@ -1,3 +1,4 @@
#!/usr/bin/env ruby
require "liquid" require "liquid"
require "benchmark/ips" require "benchmark/ips"

1
benchmark/end-with-vs-regexp Normal file → Executable file
View File

@ -1,3 +1,4 @@
#!/usr/bin/env ruby
require 'benchmark/ips' require 'benchmark/ips'
Benchmark.ips do |x| Benchmark.ips do |x|

0
benchmark/file-dir-ensure-trailing-slash Normal file → Executable file
View File

1
benchmark/flat-map Normal file → Executable file
View File

@ -1,3 +1,4 @@
#!/usr/bin/env ruby
require 'benchmark/ips' require 'benchmark/ips'
enum = (0..50).to_a enum = (0..50).to_a

1
benchmark/hash-fetch Normal file → Executable file
View File

@ -1,3 +1,4 @@
#!/usr/bin/env ruby
require 'benchmark/ips' require 'benchmark/ips'
h = {:bar => 'uco'} h = {:bar => 'uco'}

0
benchmark/jekyll-sanitize-path Normal file → Executable file
View File

1
benchmark/proc-call-vs-yield Normal file → Executable file
View File

@ -1,3 +1,4 @@
#!/usr/bin/env ruby
require 'benchmark/ips' require 'benchmark/ips'
def fast def fast

0
benchmark/regexp-vs-include.rb Normal file → Executable file
View File

1
benchmark/sequential-assignment Normal file → Executable file
View File

@ -1,3 +1,4 @@
#!/usr/bin/env ruby
require 'benchmark/ips' require 'benchmark/ips'
Benchmark.ips do |x| Benchmark.ips do |x|

1
benchmark/string-concat Normal file → Executable file
View File

@ -1,3 +1,4 @@
#!/usr/bin/env ruby
require 'benchmark/ips' require 'benchmark/ips'
url = "http://jekyllrb.com" url = "http://jekyllrb.com"

1
benchmark/string-replacement Normal file → Executable file
View File

@ -1,3 +1,4 @@
#!/usr/bin/env ruby
require 'benchmark/ips' require 'benchmark/ips'
def str def str

1
benchmark/symbol-to-proc Normal file → Executable file
View File

@ -1,3 +1,4 @@
#!/usr/bin/env ruby
require 'benchmark/ips' require 'benchmark/ips'
Benchmark.ips do |x| Benchmark.ips do |x|