@@ -0,0 +1,926 @@
+package com.anthonynsimon.url.examples;%0A%0Aimport com.anthonynsimon.url.URL;%0Aimport com.anthonynsimon.url.exceptions.MalformedURLException;%0A%0Aimport java.text.DecimalFormat;%0A%0Apublic class ParsesPerSecond %7B%0A%0A    public static void main(String%5B%5D args) %7B%0A        try %7B%0A            double average = 0;%0A            int n = 20000000;%0A%0A            for (int i = 0; i %3C n; i++) %7B%0A                long start = System.currentTimeMillis();%0A                URL url = URL.parse(%22https://example.com/path/to/file.html/?q=my+values#fragment%22);%0A                average += System.currentTimeMillis() - start;%0A            %7D%0A%0A            average /= n;%0A            double perSecond = 1000.0 / (double) average;%0A            DecimalFormat formatter = new DecimalFormat();%0A            System.out.println(formatter.format(perSecond) + %22 parses per second%22);%0A%0A        %7D catch (MalformedURLException e) %7B%0A            e.printStackTrace();%0A        %7D%0A    %7D%0A%7D%0A

Add parses per second example