You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@commons.apache.org by ki...@apache.org on 2017/09/03 05:34:10 UTC

svn commit: r1017635 [33/40] - in /websites/production/commons/content/proper/commons-csv: ./ apidocs/ apidocs/org/apache/commons/csv/ apidocs/org/apache/commons/csv/class-use/ apidocs/src-html/org/apache/commons/csv/ images/ jacoco-aggregate/ jacoco-a...

Modified: websites/production/commons/content/proper/commons-csv/xref-test/org/apache/commons/csv/perf/PerformanceTest.html
==============================================================================
--- websites/production/commons/content/proper/commons-csv/xref-test/org/apache/commons/csv/perf/PerformanceTest.html (original)
+++ websites/production/commons/content/proper/commons-csv/xref-test/org/apache/commons/csv/perf/PerformanceTest.html Sun Sep  3 05:34:03 2017
@@ -47,98 +47,96 @@
 <a class="jxr_linenumber" name="L39" href="#L39">39</a>  <em class="jxr_javadoccomment"> * Tests performance.</em>
 <a class="jxr_linenumber" name="L40" href="#L40">40</a>  <em class="jxr_javadoccomment"> *</em>
 <a class="jxr_linenumber" name="L41" href="#L41">41</a>  <em class="jxr_javadoccomment"> * To run this test, use: mvn test -Dtest=PeformanceTest</em>
-<a class="jxr_linenumber" name="L42" href="#L42">42</a>  <em class="jxr_javadoccomment"> *</em>
-<a class="jxr_linenumber" name="L43" href="#L43">43</a>  <em class="jxr_javadoccomment"> * @version $Id$</em>
-<a class="jxr_linenumber" name="L44" href="#L44">44</a>  <em class="jxr_javadoccomment"> */</em>
-<a class="jxr_linenumber" name="L45" href="#L45">45</a>  @SuppressWarnings(<span class="jxr_string">"boxing"</span>) <em class="jxr_comment">// test code</em>
-<a class="jxr_linenumber" name="L46" href="#L46">46</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/commons/csv/PerformanceTest.html">PerformanceTest</a> {
+<a class="jxr_linenumber" name="L42" href="#L42">42</a>  <em class="jxr_javadoccomment"> */</em>
+<a class="jxr_linenumber" name="L43" href="#L43">43</a>  @SuppressWarnings(<span class="jxr_string">"boxing"</span>) <em class="jxr_comment">// test code</em>
+<a class="jxr_linenumber" name="L44" href="#L44">44</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/commons/csv/PerformanceTest.html">PerformanceTest</a> {
+<a class="jxr_linenumber" name="L45" href="#L45">45</a>  
+<a class="jxr_linenumber" name="L46" href="#L46">46</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> max = 10;
 <a class="jxr_linenumber" name="L47" href="#L47">47</a>  
-<a class="jxr_linenumber" name="L48" href="#L48">48</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> max = 10;
+<a class="jxr_linenumber" name="L48" href="#L48">48</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> File BIG_FILE = <strong class="jxr_keyword">new</strong> File(System.getProperty(<span class="jxr_string">"java.io.tmpdir"</span>), <span class="jxr_string">"worldcitiespop.txt"</span>);
 <a class="jxr_linenumber" name="L49" href="#L49">49</a>  
-<a class="jxr_linenumber" name="L50" href="#L50">50</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> File BIG_FILE = <strong class="jxr_keyword">new</strong> File(System.getProperty(<span class="jxr_string">"java.io.tmpdir"</span>), <span class="jxr_string">"worldcitiespop.txt"</span>);
-<a class="jxr_linenumber" name="L51" href="#L51">51</a>  
-<a class="jxr_linenumber" name="L52" href="#L52">52</a>      @BeforeClass
-<a class="jxr_linenumber" name="L53" href="#L53">53</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">void</strong> setUpClass() <strong class="jxr_keyword">throws</strong> FileNotFoundException, IOException {
-<a class="jxr_linenumber" name="L54" href="#L54">54</a>          <strong class="jxr_keyword">if</strong> (BIG_FILE.exists()) {
-<a class="jxr_linenumber" name="L55" href="#L55">55</a>              System.out.println(String.format(<span class="jxr_string">"Found test fixture %s: %,d bytes."</span>, BIG_FILE, BIG_FILE.length()));
-<a class="jxr_linenumber" name="L56" href="#L56">56</a>              <strong class="jxr_keyword">return</strong>;
-<a class="jxr_linenumber" name="L57" href="#L57">57</a>          }
-<a class="jxr_linenumber" name="L58" href="#L58">58</a>          System.out.println(<span class="jxr_string">"Decompressing test fixture "</span> + BIG_FILE + <span class="jxr_string">"..."</span>);
-<a class="jxr_linenumber" name="L59" href="#L59">59</a>          <strong class="jxr_keyword">try</strong> (<strong class="jxr_keyword">final</strong> InputStream input = <strong class="jxr_keyword">new</strong> GZIPInputStream(
-<a class="jxr_linenumber" name="L60" href="#L60">60</a>                  <strong class="jxr_keyword">new</strong> FileInputStream(<span class="jxr_string">"src/test/resources/perf/worldcitiespop.txt.gz"</span>));
-<a class="jxr_linenumber" name="L61" href="#L61">61</a>                  <strong class="jxr_keyword">final</strong> OutputStream output = <strong class="jxr_keyword">new</strong> FileOutputStream(BIG_FILE)) {
-<a class="jxr_linenumber" name="L62" href="#L62">62</a>              IOUtils.copy(input, output);
-<a class="jxr_linenumber" name="L63" href="#L63">63</a>              System.out.println(String.format(<span class="jxr_string">"Decompressed test fixture %s: %,d bytes."</span>, BIG_FILE, BIG_FILE.length()));
-<a class="jxr_linenumber" name="L64" href="#L64">64</a>          }
-<a class="jxr_linenumber" name="L65" href="#L65">65</a>      }
-<a class="jxr_linenumber" name="L66" href="#L66">66</a>  
-<a class="jxr_linenumber" name="L67" href="#L67">67</a>      <strong class="jxr_keyword">private</strong> BufferedReader createBufferedReader() <strong class="jxr_keyword">throws</strong> IOException {
-<a class="jxr_linenumber" name="L68" href="#L68">68</a>          <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">new</strong> BufferedReader(<strong class="jxr_keyword">new</strong> FileReader(BIG_FILE));
-<a class="jxr_linenumber" name="L69" href="#L69">69</a>      }
-<a class="jxr_linenumber" name="L70" href="#L70">70</a>  
-<a class="jxr_linenumber" name="L71" href="#L71">71</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">long</strong> parse(<strong class="jxr_keyword">final</strong> Reader in, <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> traverseColumns) <strong class="jxr_keyword">throws</strong> IOException {
-<a class="jxr_linenumber" name="L72" href="#L72">72</a>          <strong class="jxr_keyword">final</strong> CSVFormat format = CSVFormat.DEFAULT.withIgnoreSurroundingSpaces(false);
-<a class="jxr_linenumber" name="L73" href="#L73">73</a>          <strong class="jxr_keyword">long</strong> recordCount = 0;
-<a class="jxr_linenumber" name="L74" href="#L74">74</a>          <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">final</strong> CSVRecord record : format.parse(in)) {
-<a class="jxr_linenumber" name="L75" href="#L75">75</a>              recordCount++;
-<a class="jxr_linenumber" name="L76" href="#L76">76</a>              <strong class="jxr_keyword">if</strong> (traverseColumns) {
-<a class="jxr_linenumber" name="L77" href="#L77">77</a>                  <strong class="jxr_keyword">for</strong> (@SuppressWarnings(<span class="jxr_string">"unused"</span>) <strong class="jxr_keyword">final</strong> String value : record) {
-<a class="jxr_linenumber" name="L78" href="#L78">78</a>                      <em class="jxr_comment">// do nothing for now</em>
-<a class="jxr_linenumber" name="L79" href="#L79">79</a>                  }
-<a class="jxr_linenumber" name="L80" href="#L80">80</a>              }
-<a class="jxr_linenumber" name="L81" href="#L81">81</a>          }
-<a class="jxr_linenumber" name="L82" href="#L82">82</a>          <strong class="jxr_keyword">return</strong> recordCount;
-<a class="jxr_linenumber" name="L83" href="#L83">83</a>      }
-<a class="jxr_linenumber" name="L84" href="#L84">84</a>  
-<a class="jxr_linenumber" name="L85" href="#L85">85</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> println(<strong class="jxr_keyword">final</strong> String s) {
-<a class="jxr_linenumber" name="L86" href="#L86">86</a>          System.out.println(s);
-<a class="jxr_linenumber" name="L87" href="#L87">87</a>      }
-<a class="jxr_linenumber" name="L88" href="#L88">88</a>  
-<a class="jxr_linenumber" name="L89" href="#L89">89</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">long</strong> readAll(<strong class="jxr_keyword">final</strong> BufferedReader in) <strong class="jxr_keyword">throws</strong> IOException {
-<a class="jxr_linenumber" name="L90" href="#L90">90</a>          <strong class="jxr_keyword">long</strong> count = 0;
-<a class="jxr_linenumber" name="L91" href="#L91">91</a>          <strong class="jxr_keyword">while</strong> (in.readLine() != <strong class="jxr_keyword">null</strong>) {
-<a class="jxr_linenumber" name="L92" href="#L92">92</a>              count++;
-<a class="jxr_linenumber" name="L93" href="#L93">93</a>          }
-<a class="jxr_linenumber" name="L94" href="#L94">94</a>          <strong class="jxr_keyword">return</strong> count;
-<a class="jxr_linenumber" name="L95" href="#L95">95</a>      }
-<a class="jxr_linenumber" name="L96" href="#L96">96</a>  
-<a class="jxr_linenumber" name="L97" href="#L97">97</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">long</strong> testParseBigFile(<strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> traverseColumns) <strong class="jxr_keyword">throws</strong> Exception {
-<a class="jxr_linenumber" name="L98" href="#L98">98</a>          <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> startMillis = System.currentTimeMillis();
-<a class="jxr_linenumber" name="L99" href="#L99">99</a>          <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> count = <strong class="jxr_keyword">this</strong>.parse(<strong class="jxr_keyword">this</strong>.createBufferedReader(), traverseColumns);
-<a class="jxr_linenumber" name="L100" href="#L100">100</a>         <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> totalMillis = System.currentTimeMillis() - startMillis;
-<a class="jxr_linenumber" name="L101" href="#L101">101</a>         <strong class="jxr_keyword">this</strong>.println(String.format(<span class="jxr_string">"File parsed in %,d milliseconds with Commons CSV: %,d lines."</span>, totalMillis, count));
-<a class="jxr_linenumber" name="L102" href="#L102">102</a>         <strong class="jxr_keyword">return</strong> totalMillis;
-<a class="jxr_linenumber" name="L103" href="#L103">103</a>     }
-<a class="jxr_linenumber" name="L104" href="#L104">104</a> 
-<a class="jxr_linenumber" name="L105" href="#L105">105</a>     @Test
-<a class="jxr_linenumber" name="L106" href="#L106">106</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testParseBigFileRepeat() <strong class="jxr_keyword">throws</strong> Exception {
-<a class="jxr_linenumber" name="L107" href="#L107">107</a>         <strong class="jxr_keyword">long</strong> bestTime = Long.MAX_VALUE;
-<a class="jxr_linenumber" name="L108" href="#L108">108</a>         <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">int</strong> i = 0; i &lt; <strong class="jxr_keyword">this</strong>.max; i++) {
-<a class="jxr_linenumber" name="L109" href="#L109">109</a>             bestTime = Math.min(<strong class="jxr_keyword">this</strong>.testParseBigFile(false), bestTime);
-<a class="jxr_linenumber" name="L110" href="#L110">110</a>         }
-<a class="jxr_linenumber" name="L111" href="#L111">111</a>         <strong class="jxr_keyword">this</strong>.println(String.format(<span class="jxr_string">"Best time out of %,d is %,d milliseconds."</span>, <strong class="jxr_keyword">this</strong>.max, bestTime));
-<a class="jxr_linenumber" name="L112" href="#L112">112</a>     }
-<a class="jxr_linenumber" name="L113" href="#L113">113</a> 
-<a class="jxr_linenumber" name="L114" href="#L114">114</a>     @Test
-<a class="jxr_linenumber" name="L115" href="#L115">115</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testReadBigFile() <strong class="jxr_keyword">throws</strong> Exception {
-<a class="jxr_linenumber" name="L116" href="#L116">116</a>         <strong class="jxr_keyword">long</strong> bestTime = Long.MAX_VALUE;
-<a class="jxr_linenumber" name="L117" href="#L117">117</a>         <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">int</strong> i = 0; i &lt; <strong class="jxr_keyword">this</strong>.max; i++) {
-<a class="jxr_linenumber" name="L118" href="#L118">118</a>             <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> startMillis;
-<a class="jxr_linenumber" name="L119" href="#L119">119</a>             <strong class="jxr_keyword">long</strong> count;
-<a class="jxr_linenumber" name="L120" href="#L120">120</a>             <strong class="jxr_keyword">try</strong> (<strong class="jxr_keyword">final</strong> BufferedReader in = <strong class="jxr_keyword">this</strong>.createBufferedReader()) {
-<a class="jxr_linenumber" name="L121" href="#L121">121</a>                 startMillis = System.currentTimeMillis();
-<a class="jxr_linenumber" name="L122" href="#L122">122</a>                 count = 0;
-<a class="jxr_linenumber" name="L123" href="#L123">123</a>                 count = <strong class="jxr_keyword">this</strong>.readAll(in);
-<a class="jxr_linenumber" name="L124" href="#L124">124</a>             }
-<a class="jxr_linenumber" name="L125" href="#L125">125</a>             <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> totalMillis = System.currentTimeMillis() - startMillis;
-<a class="jxr_linenumber" name="L126" href="#L126">126</a>             bestTime = Math.min(totalMillis, bestTime);
-<a class="jxr_linenumber" name="L127" href="#L127">127</a>             <strong class="jxr_keyword">this</strong>.println(String.format(<span class="jxr_string">"File read in %,d milliseconds: %,d lines."</span>, totalMillis, count));
-<a class="jxr_linenumber" name="L128" href="#L128">128</a>         }
-<a class="jxr_linenumber" name="L129" href="#L129">129</a>         <strong class="jxr_keyword">this</strong>.println(String.format(<span class="jxr_string">"Best time out of %,d is %,d milliseconds."</span>, <strong class="jxr_keyword">this</strong>.max, bestTime));
-<a class="jxr_linenumber" name="L130" href="#L130">130</a>     }
-<a class="jxr_linenumber" name="L131" href="#L131">131</a> }
+<a class="jxr_linenumber" name="L50" href="#L50">50</a>      @BeforeClass
+<a class="jxr_linenumber" name="L51" href="#L51">51</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">void</strong> setUpClass() <strong class="jxr_keyword">throws</strong> FileNotFoundException, IOException {
+<a class="jxr_linenumber" name="L52" href="#L52">52</a>          <strong class="jxr_keyword">if</strong> (BIG_FILE.exists()) {
+<a class="jxr_linenumber" name="L53" href="#L53">53</a>              System.out.println(String.format(<span class="jxr_string">"Found test fixture %s: %,d bytes."</span>, BIG_FILE, BIG_FILE.length()));
+<a class="jxr_linenumber" name="L54" href="#L54">54</a>              <strong class="jxr_keyword">return</strong>;
+<a class="jxr_linenumber" name="L55" href="#L55">55</a>          }
+<a class="jxr_linenumber" name="L56" href="#L56">56</a>          System.out.println(<span class="jxr_string">"Decompressing test fixture "</span> + BIG_FILE + <span class="jxr_string">"..."</span>);
+<a class="jxr_linenumber" name="L57" href="#L57">57</a>          <strong class="jxr_keyword">try</strong> (<strong class="jxr_keyword">final</strong> InputStream input = <strong class="jxr_keyword">new</strong> GZIPInputStream(
+<a class="jxr_linenumber" name="L58" href="#L58">58</a>                  <strong class="jxr_keyword">new</strong> FileInputStream(<span class="jxr_string">"src/test/resources/perf/worldcitiespop.txt.gz"</span>));
+<a class="jxr_linenumber" name="L59" href="#L59">59</a>                  <strong class="jxr_keyword">final</strong> OutputStream output = <strong class="jxr_keyword">new</strong> FileOutputStream(BIG_FILE)) {
+<a class="jxr_linenumber" name="L60" href="#L60">60</a>              IOUtils.copy(input, output);
+<a class="jxr_linenumber" name="L61" href="#L61">61</a>              System.out.println(String.format(<span class="jxr_string">"Decompressed test fixture %s: %,d bytes."</span>, BIG_FILE, BIG_FILE.length()));
+<a class="jxr_linenumber" name="L62" href="#L62">62</a>          }
+<a class="jxr_linenumber" name="L63" href="#L63">63</a>      }
+<a class="jxr_linenumber" name="L64" href="#L64">64</a>  
+<a class="jxr_linenumber" name="L65" href="#L65">65</a>      <strong class="jxr_keyword">private</strong> BufferedReader createBufferedReader() <strong class="jxr_keyword">throws</strong> IOException {
+<a class="jxr_linenumber" name="L66" href="#L66">66</a>          <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">new</strong> BufferedReader(<strong class="jxr_keyword">new</strong> FileReader(BIG_FILE));
+<a class="jxr_linenumber" name="L67" href="#L67">67</a>      }
+<a class="jxr_linenumber" name="L68" href="#L68">68</a>  
+<a class="jxr_linenumber" name="L69" href="#L69">69</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">long</strong> parse(<strong class="jxr_keyword">final</strong> Reader in, <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> traverseColumns) <strong class="jxr_keyword">throws</strong> IOException {
+<a class="jxr_linenumber" name="L70" href="#L70">70</a>          <strong class="jxr_keyword">final</strong> CSVFormat format = CSVFormat.DEFAULT.withIgnoreSurroundingSpaces(false);
+<a class="jxr_linenumber" name="L71" href="#L71">71</a>          <strong class="jxr_keyword">long</strong> recordCount = 0;
+<a class="jxr_linenumber" name="L72" href="#L72">72</a>          <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">final</strong> CSVRecord record : format.parse(in)) {
+<a class="jxr_linenumber" name="L73" href="#L73">73</a>              recordCount++;
+<a class="jxr_linenumber" name="L74" href="#L74">74</a>              <strong class="jxr_keyword">if</strong> (traverseColumns) {
+<a class="jxr_linenumber" name="L75" href="#L75">75</a>                  <strong class="jxr_keyword">for</strong> (@SuppressWarnings(<span class="jxr_string">"unused"</span>) <strong class="jxr_keyword">final</strong> String value : record) {
+<a class="jxr_linenumber" name="L76" href="#L76">76</a>                      <em class="jxr_comment">// do nothing for now</em>
+<a class="jxr_linenumber" name="L77" href="#L77">77</a>                  }
+<a class="jxr_linenumber" name="L78" href="#L78">78</a>              }
+<a class="jxr_linenumber" name="L79" href="#L79">79</a>          }
+<a class="jxr_linenumber" name="L80" href="#L80">80</a>          <strong class="jxr_keyword">return</strong> recordCount;
+<a class="jxr_linenumber" name="L81" href="#L81">81</a>      }
+<a class="jxr_linenumber" name="L82" href="#L82">82</a>  
+<a class="jxr_linenumber" name="L83" href="#L83">83</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> println(<strong class="jxr_keyword">final</strong> String s) {
+<a class="jxr_linenumber" name="L84" href="#L84">84</a>          System.out.println(s);
+<a class="jxr_linenumber" name="L85" href="#L85">85</a>      }
+<a class="jxr_linenumber" name="L86" href="#L86">86</a>  
+<a class="jxr_linenumber" name="L87" href="#L87">87</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">long</strong> readAll(<strong class="jxr_keyword">final</strong> BufferedReader in) <strong class="jxr_keyword">throws</strong> IOException {
+<a class="jxr_linenumber" name="L88" href="#L88">88</a>          <strong class="jxr_keyword">long</strong> count = 0;
+<a class="jxr_linenumber" name="L89" href="#L89">89</a>          <strong class="jxr_keyword">while</strong> (in.readLine() != <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="L90" href="#L90">90</a>              count++;
+<a class="jxr_linenumber" name="L91" href="#L91">91</a>          }
+<a class="jxr_linenumber" name="L92" href="#L92">92</a>          <strong class="jxr_keyword">return</strong> count;
+<a class="jxr_linenumber" name="L93" href="#L93">93</a>      }
+<a class="jxr_linenumber" name="L94" href="#L94">94</a>  
+<a class="jxr_linenumber" name="L95" href="#L95">95</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">long</strong> testParseBigFile(<strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> traverseColumns) <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L96" href="#L96">96</a>          <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> startMillis = System.currentTimeMillis();
+<a class="jxr_linenumber" name="L97" href="#L97">97</a>          <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> count = <strong class="jxr_keyword">this</strong>.parse(<strong class="jxr_keyword">this</strong>.createBufferedReader(), traverseColumns);
+<a class="jxr_linenumber" name="L98" href="#L98">98</a>          <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> totalMillis = System.currentTimeMillis() - startMillis;
+<a class="jxr_linenumber" name="L99" href="#L99">99</a>          <strong class="jxr_keyword">this</strong>.println(String.format(<span class="jxr_string">"File parsed in %,d milliseconds with Commons CSV: %,d lines."</span>, totalMillis, count));
+<a class="jxr_linenumber" name="L100" href="#L100">100</a>         <strong class="jxr_keyword">return</strong> totalMillis;
+<a class="jxr_linenumber" name="L101" href="#L101">101</a>     }
+<a class="jxr_linenumber" name="L102" href="#L102">102</a> 
+<a class="jxr_linenumber" name="L103" href="#L103">103</a>     @Test
+<a class="jxr_linenumber" name="L104" href="#L104">104</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testParseBigFileRepeat() <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L105" href="#L105">105</a>         <strong class="jxr_keyword">long</strong> bestTime = Long.MAX_VALUE;
+<a class="jxr_linenumber" name="L106" href="#L106">106</a>         <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">int</strong> i = 0; i &lt; <strong class="jxr_keyword">this</strong>.max; i++) {
+<a class="jxr_linenumber" name="L107" href="#L107">107</a>             bestTime = Math.min(<strong class="jxr_keyword">this</strong>.testParseBigFile(false), bestTime);
+<a class="jxr_linenumber" name="L108" href="#L108">108</a>         }
+<a class="jxr_linenumber" name="L109" href="#L109">109</a>         <strong class="jxr_keyword">this</strong>.println(String.format(<span class="jxr_string">"Best time out of %,d is %,d milliseconds."</span>, <strong class="jxr_keyword">this</strong>.max, bestTime));
+<a class="jxr_linenumber" name="L110" href="#L110">110</a>     }
+<a class="jxr_linenumber" name="L111" href="#L111">111</a> 
+<a class="jxr_linenumber" name="L112" href="#L112">112</a>     @Test
+<a class="jxr_linenumber" name="L113" href="#L113">113</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testReadBigFile() <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L114" href="#L114">114</a>         <strong class="jxr_keyword">long</strong> bestTime = Long.MAX_VALUE;
+<a class="jxr_linenumber" name="L115" href="#L115">115</a>         <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">int</strong> i = 0; i &lt; <strong class="jxr_keyword">this</strong>.max; i++) {
+<a class="jxr_linenumber" name="L116" href="#L116">116</a>             <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> startMillis;
+<a class="jxr_linenumber" name="L117" href="#L117">117</a>             <strong class="jxr_keyword">long</strong> count;
+<a class="jxr_linenumber" name="L118" href="#L118">118</a>             <strong class="jxr_keyword">try</strong> (<strong class="jxr_keyword">final</strong> BufferedReader in = <strong class="jxr_keyword">this</strong>.createBufferedReader()) {
+<a class="jxr_linenumber" name="L119" href="#L119">119</a>                 startMillis = System.currentTimeMillis();
+<a class="jxr_linenumber" name="L120" href="#L120">120</a>                 count = 0;
+<a class="jxr_linenumber" name="L121" href="#L121">121</a>                 count = <strong class="jxr_keyword">this</strong>.readAll(in);
+<a class="jxr_linenumber" name="L122" href="#L122">122</a>             }
+<a class="jxr_linenumber" name="L123" href="#L123">123</a>             <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> totalMillis = System.currentTimeMillis() - startMillis;
+<a class="jxr_linenumber" name="L124" href="#L124">124</a>             bestTime = Math.min(totalMillis, bestTime);
+<a class="jxr_linenumber" name="L125" href="#L125">125</a>             <strong class="jxr_keyword">this</strong>.println(String.format(<span class="jxr_string">"File read in %,d milliseconds: %,d lines."</span>, totalMillis, count));
+<a class="jxr_linenumber" name="L126" href="#L126">126</a>         }
+<a class="jxr_linenumber" name="L127" href="#L127">127</a>         <strong class="jxr_keyword">this</strong>.println(String.format(<span class="jxr_string">"Best time out of %,d is %,d milliseconds."</span>, <strong class="jxr_keyword">this</strong>.max, bestTime));
+<a class="jxr_linenumber" name="L128" href="#L128">128</a>     }
+<a class="jxr_linenumber" name="L129" href="#L129">129</a> }
 </pre>
 <hr/>
-<div id="footer">Copyright &#169; 2016 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>
+<div id="footer">Copyright &#169; 2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>
 </body>
 </html>
\ No newline at end of file

Modified: websites/production/commons/content/proper/commons-csv/xref-test/org/apache/commons/csv/perf/package-frame.html
==============================================================================
--- websites/production/commons/content/proper/commons-csv/xref-test/org/apache/commons/csv/perf/package-frame.html (original)
+++ websites/production/commons/content/proper/commons-csv/xref-test/org/apache/commons/csv/perf/package-frame.html Sun Sep  3 05:34:03 2017
@@ -3,7 +3,7 @@
 <html xml:lang="en" lang="en">
 	<head>
 		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-		<title>Apache Commons CSV 1.5-SNAPSHOT Reference Package org.apache.commons.csv.perf</title>
+		<title>Apache Commons CSV 1.5.1-SNAPSHOT Reference Package org.apache.commons.csv.perf</title>
 		<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
 	</head>
 	<body>

Modified: websites/production/commons/content/proper/commons-csv/xref-test/org/apache/commons/csv/perf/package-summary.html
==============================================================================
--- websites/production/commons/content/proper/commons-csv/xref-test/org/apache/commons/csv/perf/package-summary.html (original)
+++ websites/production/commons/content/proper/commons-csv/xref-test/org/apache/commons/csv/perf/package-summary.html Sun Sep  3 05:34:03 2017
@@ -3,7 +3,7 @@
 <html xml:lang="en" lang="en">
 	<head>
 		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-		<title>Apache Commons CSV 1.5-SNAPSHOT Reference Package org.apache.commons.csv.perf</title>
+		<title>Apache Commons CSV 1.5.1-SNAPSHOT Reference Package org.apache.commons.csv.perf</title>
 		<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
 	</head>
 	<body>
@@ -63,7 +63,7 @@
       	</div>
 				<hr />
 		<div id="footer">
-			Copyright &#169; 2016 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.
+			Copyright &#169; 2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.
 		</div>
 	</body>
 </html>
\ No newline at end of file

Modified: websites/production/commons/content/proper/commons-csv/xref-test/overview-frame.html
==============================================================================
--- websites/production/commons/content/proper/commons-csv/xref-test/overview-frame.html (original)
+++ websites/production/commons/content/proper/commons-csv/xref-test/overview-frame.html Sun Sep  3 05:34:03 2017
@@ -3,7 +3,7 @@
 <html xml:lang="en" lang="en">
 	<head>
 		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-		<title>Apache Commons CSV 1.5-SNAPSHOT Reference</title>
+		<title>Apache Commons CSV 1.5.1-SNAPSHOT Reference</title>
 		<link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" />
 	</head>
 	<body>
@@ -19,7 +19,7 @@
 				<a href="org/apache/commons/csv/package-frame.html" target="packageFrame">org.apache.commons.csv</a>
 			</li>
 						<li>
-				<a href="org/apache/commons/csv/bugs/package-frame.html" target="packageFrame">org.apache.commons.csv.bugs</a>
+				<a href="org/apache/commons/csv/issues/package-frame.html" target="packageFrame">org.apache.commons.csv.issues</a>
 			</li>
 						<li>
 				<a href="org/apache/commons/csv/perf/package-frame.html" target="packageFrame">org.apache.commons.csv.perf</a>

Modified: websites/production/commons/content/proper/commons-csv/xref-test/overview-summary.html
==============================================================================
--- websites/production/commons/content/proper/commons-csv/xref-test/overview-summary.html (original)
+++ websites/production/commons/content/proper/commons-csv/xref-test/overview-summary.html Sun Sep  3 05:34:03 2017
@@ -3,7 +3,7 @@
 <html xml:lang="en" lang="en">
 	<head>
 		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-		<title>Apache Commons CSV 1.5-SNAPSHOT Reference</title>
+		<title>Apache Commons CSV 1.5.1-SNAPSHOT Reference</title>
 		<link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" />
 	</head>
 	<body>
@@ -24,7 +24,7 @@
 	        </ul>
       	</div>
 		
-		      	<h2>Apache Commons CSV 1.5-SNAPSHOT Reference</h2>
+		      	<h2>Apache Commons CSV 1.5.1-SNAPSHOT Reference</h2>
 
 		<table class="summary">
         	<thead>
@@ -40,7 +40,7 @@
             	</tr>
 	          	            	<tr>
               		<td>
-                		<a href="org/apache/commons/csv/bugs/package-summary.html">org.apache.commons.csv.bugs</a>
+                		<a href="org/apache/commons/csv/issues/package-summary.html">org.apache.commons.csv.issues</a>
               		</td>
             	</tr>
 	          	            	<tr>
@@ -70,7 +70,7 @@
 		
 		<hr />
 		<div id="footer">
-			Copyright &#169; 2016 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.
+			Copyright &#169; 2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.
 		</div>
 	</body>
 </html>
\ No newline at end of file

Modified: websites/production/commons/content/proper/commons-csv/xref/index.html
==============================================================================
--- websites/production/commons/content/proper/commons-csv/xref/index.html (original)
+++ websites/production/commons/content/proper/commons-csv/xref/index.html Sun Sep  3 05:34:03 2017
@@ -4,7 +4,7 @@
 <!-- this is a JXR report set -->
 	<head>
 		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-		<title>Apache Commons CSV 1.5-SNAPSHOT Reference</title>
+		<title>Apache Commons CSV 1.5.1-SNAPSHOT Reference</title>
 	</head>
     <frameset cols="20%,80%">
 		<frameset rows="30%,70%">

Modified: websites/production/commons/content/proper/commons-csv/xref/org/apache/commons/csv/Assertions.html
==============================================================================
--- websites/production/commons/content/proper/commons-csv/xref/org/apache/commons/csv/Assertions.html (original)
+++ websites/production/commons/content/proper/commons-csv/xref/org/apache/commons/csv/Assertions.html Sun Sep  3 05:34:03 2017
@@ -25,12 +25,12 @@
 <a class="jxr_linenumber" name="L17" href="#L17">17</a>  
 <a class="jxr_linenumber" name="L18" href="#L18">18</a>  <strong class="jxr_keyword">package</strong> org.apache.commons.csv;
 <a class="jxr_linenumber" name="L19" href="#L19">19</a>  
-<a class="jxr_linenumber" name="L20" href="#L20">20</a>  <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="L21" href="#L21">21</a>  <em class="jxr_javadoccomment"> * Utility class for input parameter validation.</em>
-<a class="jxr_linenumber" name="L22" href="#L22">22</a>  <em class="jxr_javadoccomment"> *</em>
-<a class="jxr_linenumber" name="L23" href="#L23">23</a>  <em class="jxr_javadoccomment"> * TODO Replace usage with {@link Objects} when we switch to Java 7.</em>
+<a class="jxr_linenumber" name="L20" href="#L20">20</a>  <strong class="jxr_keyword">import</strong> java.util.Objects;
+<a class="jxr_linenumber" name="L21" href="#L21">21</a>  
+<a class="jxr_linenumber" name="L22" href="#L22">22</a>  <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L23" href="#L23">23</a>  <em class="jxr_javadoccomment"> * Utility class for input parameter validation.</em>
 <a class="jxr_linenumber" name="L24" href="#L24">24</a>  <em class="jxr_javadoccomment"> *</em>
-<a class="jxr_linenumber" name="L25" href="#L25">25</a>  <em class="jxr_javadoccomment"> * @version $Id$</em>
+<a class="jxr_linenumber" name="L25" href="#L25">25</a>  <em class="jxr_javadoccomment"> * TODO Replace usage with {@link Objects} when we switch to Java 7.</em>
 <a class="jxr_linenumber" name="L26" href="#L26">26</a>  <em class="jxr_javadoccomment"> */</em>
 <a class="jxr_linenumber" name="L27" href="#L27">27</a>  <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../org/apache/commons/csv/Assertions.html">Assertions</a> {
 <a class="jxr_linenumber" name="L28" href="#L28">28</a>  
@@ -46,6 +46,6 @@
 <a class="jxr_linenumber" name="L38" href="#L38">38</a>  }
 </pre>
 <hr/>
-<div id="footer">Copyright &#169; 2016 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>
+<div id="footer">Copyright &#169; 2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>
 </body>
 </html>
\ No newline at end of file