mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-09 15:08:08 -05:00
include a hashbang for all benchmark scripts
this also makes every benchmark script executable
This commit is contained in:
1
benchmark/capture-assign.rb
Normal file → Executable file
1
benchmark/capture-assign.rb
Normal file → Executable file
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env ruby
|
||||
require "liquid"
|
||||
require "benchmark/ips"
|
||||
|
||||
|
||||
1
benchmark/end-with-vs-regexp
Normal file → Executable file
1
benchmark/end-with-vs-regexp
Normal file → Executable file
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env ruby
|
||||
require 'benchmark/ips'
|
||||
|
||||
Benchmark.ips do |x|
|
||||
|
||||
0
benchmark/file-dir-ensure-trailing-slash
Normal file → Executable file
0
benchmark/file-dir-ensure-trailing-slash
Normal file → Executable file
1
benchmark/flat-map
Normal file → Executable file
1
benchmark/flat-map
Normal file → Executable file
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env ruby
|
||||
require 'benchmark/ips'
|
||||
|
||||
enum = (0..50).to_a
|
||||
|
||||
1
benchmark/hash-fetch
Normal file → Executable file
1
benchmark/hash-fetch
Normal file → Executable file
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env ruby
|
||||
require 'benchmark/ips'
|
||||
|
||||
h = {:bar => 'uco'}
|
||||
|
||||
0
benchmark/jekyll-sanitize-path
Normal file → Executable file
0
benchmark/jekyll-sanitize-path
Normal file → Executable file
1
benchmark/proc-call-vs-yield
Normal file → Executable file
1
benchmark/proc-call-vs-yield
Normal file → Executable file
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env ruby
|
||||
require 'benchmark/ips'
|
||||
|
||||
def fast
|
||||
|
||||
0
benchmark/regexp-vs-include.rb
Normal file → Executable file
0
benchmark/regexp-vs-include.rb
Normal file → Executable file
1
benchmark/sequential-assignment
Normal file → Executable file
1
benchmark/sequential-assignment
Normal file → Executable file
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env ruby
|
||||
require 'benchmark/ips'
|
||||
|
||||
Benchmark.ips do |x|
|
||||
|
||||
1
benchmark/string-concat
Normal file → Executable file
1
benchmark/string-concat
Normal file → Executable file
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env ruby
|
||||
require 'benchmark/ips'
|
||||
|
||||
url = "http://jekyllrb.com"
|
||||
|
||||
1
benchmark/string-replacement
Normal file → Executable file
1
benchmark/string-replacement
Normal file → Executable file
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env ruby
|
||||
require 'benchmark/ips'
|
||||
|
||||
def str
|
||||
|
||||
1
benchmark/symbol-to-proc
Normal file → Executable file
1
benchmark/symbol-to-proc
Normal file → Executable file
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env ruby
|
||||
require 'benchmark/ips'
|
||||
|
||||
Benchmark.ips do |x|
|
||||
|
||||
Reference in New Issue
Block a user