Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make CI run the profile task(s) #82

Open
dentarg opened this issue Apr 16, 2016 · 0 comments
Open

Make CI run the profile task(s) #82

dentarg opened this issue Apr 16, 2016 · 0 comments

Comments

@dentarg
Copy link
Collaborator

dentarg commented Apr 16, 2016

We only have profile:normalize for now,

twingly-url/Rakefile

Lines 3 to 14 in 11c4908

namespace :profile do
require_relative "profile/profile"
desc "Profile"
task :normalize do |task|
require_relative "lib/twingly/url"
Profile.measure "normalizing a short URL", 1000 do
Twingly::URL.parse('http://www.duh.se/').normalized
end
end
end

The tasks produces HTML files (can be seen in #69), not sure about console output, but hopefully there is some result printed to the console, or we can make it print some, so this is useful to run on Travis :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant