diff options
Diffstat (limited to 'skate/url_test.go')
-rw-r--r-- | skate/url_test.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/skate/url_test.go b/skate/url_test.go index 8dddb09..c138a0e 100644 --- a/skate/url_test.go +++ b/skate/url_test.go @@ -106,3 +106,9 @@ func TestSanitizeURL(t *testing.T) { } } } + +func BenchmarkSanitizeURL(b *testing.B) { + for n := 0; n < b.N; n++ { + SanitizeURL(`http://acrf.com.au/2012/world-firsthpv-vaccina-tion-plan-will-protect-young-australian-men-from-cancer/`) + } +} |