Skip to content

Instantly share code, notes, and snippets.

@gunnarmorling
Created November 4, 2014 15:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gunnarmorling/8bd6d5b4569eaa923cbe to your computer and use it in GitHub Desktop.
Save gunnarmorling/8bd6d5b4569eaa923cbe to your computer and use it in GitHub Desktop.
URLConstraintBenchmark
# Run complete. Total time: 00:00:20
Benchmark (url) Mode Samples Score Error Units
o.h.v.URLConstraintBenchmark.measureValidationUsingRegExp http://foo.com/blah_blah ss 300 580,450 ± 100,057 us
o.h.v.URLConstraintBenchmark.measureValidationUsingRegExp http://142.42.1.1:8080/ ss 300 575,237 ± 99,833 us
o.h.v.URLConstraintBenchmark.measureValidationUsingRegExp http://例子.测试 ss 300 454,633 ± 50,617 us
o.h.v.URLConstraintBenchmark.measureValidationUsingRegExp http//foo/ ss 300 181,290 ± 15,749 us
o.h.v.URLConstraintBenchmark.measureValidationUsingRegExp ///a ss 300 86,680 ± 17,834 us
o.h.v.URLConstraintBenchmark.measureValidationUsingRegExp :// should fail ss 300 80,807 ± 11,059 us
o.h.v.URLConstraintBenchmark.measureValidationUsingURLConstructor http://foo.com/blah_blah ss 300 230,757 ± 9,026 us
o.h.v.URLConstraintBenchmark.measureValidationUsingURLConstructor http://142.42.1.1:8080/ ss 300 324,757 ± 65,052 us
o.h.v.URLConstraintBenchmark.measureValidationUsingURLConstructor http://例子.测试 ss 300 214,140 ± 11,191 us
o.h.v.URLConstraintBenchmark.measureValidationUsingURLConstructor http//foo/ ss 300 198,460 ± 12,413 us
o.h.v.URLConstraintBenchmark.measureValidationUsingURLConstructor ///a ss 300 202,683 ± 8,523 us
o.h.v.URLConstraintBenchmark.measureValidationUsingURLConstructor :// should fail ss 300 225,257 ± 10,351 us
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment