diff --git a/spec/helpers/application_helper_spec.rb b/spec/helpers/application_helper_spec.rb
index 8938dfd3d..411b6a1b3 100644
--- a/spec/helpers/application_helper_spec.rb
+++ b/spec/helpers/application_helper_spec.rb
@@ -212,5 +212,16 @@ describe ApplicationHelper do
res.should == "http://url.com www.url.com www.youtube.com/watch?foo=bar&v=BARFOO&whatever=related *emphasis* __emphasis__ link link"
end
end
+
+ context 'performance' do
+ before do
+ @message = "HHello,Hello_, I _am a strong robot.*Hello, I am *a strong robot.Hello, I am a strong robot.Hello, I am a strong robot.Hello, I am a strong robot.Hello, I am a **strong robot.Hello, I am _a _strong *robot**.Hello*, I am a strong "
+ end
+ it 'is sub millisecond' do
+ Benchmark.realtime{
+ markdownify(@message)
+ }.should < 0.001
+ end
+ end
end
end