mirror of
https://github.com/kemko/liquid.git
synced 2026-01-01 15:55:40 +03:00
Added convenience task rake profile:grind to load up KCacheGind
This commit is contained in:
22
Rakefile
22
Rakefile
@@ -23,9 +23,23 @@ Hoe.new(PKG_NAME, PKG_VERSION) do |p|
|
||||
p.url = "http://www.liquidmarkup.org"
|
||||
end
|
||||
|
||||
desc "Run the liquid profile/perforamce coverage"
|
||||
task :profile do
|
||||
|
||||
namespace :profile do
|
||||
|
||||
|
||||
ruby "performance/shopify.rb"
|
||||
task :default => [:run]
|
||||
|
||||
end
|
||||
desc "Run the liquid profile/perforamce coverage"
|
||||
task :run do
|
||||
|
||||
ruby "performance/shopify.rb"
|
||||
|
||||
end
|
||||
|
||||
desc "Run KCacheGrind"
|
||||
task :grind => :run do
|
||||
system "kcachegrind /tmp/liquid.rubyprof_calltreeprinter.txt"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user