Permalink
Browse files

+ normalize is not consistently fast

  • Loading branch information...
1 parent d609cd8 commit d7e9305c50885c2b4503f0b32ef1bd052276f1ce @floere committed Nov 19, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/lib/phony_spec.rb
View
@@ -193,7 +193,7 @@
describe 'normalize' do
it 'is fast' do
number = @phone_numbers.first
- performance_of { Phony.normalize(number) }.should < 0.000075
+ performance_of { Phony.normalize(number) }.should < 0.0001
end
it 'is fast' do
performance_of { @phone_numbers.each { |number| Phony.normalize(number) } }.should < 0.00015

0 comments on commit d7e9305

Please sign in to comment.