code: @Deprecated
  	public static void main(final String[] args)
  			throws Exception
  	{
  
  		RevisionAPIConfiguration config = new RevisionAPIConfiguration();
  		config.setHost("localhost");
  		config.setDatabase("en_wiki");
  		config.setUser("root");
  		config.setPassword("1234");
  
  		config.setCharacterSet("UTF-8");
  		config.setBufferSize(20000);
  		config.setMaxAllowedPacket(16 * 1024 * 1023);
  
  		long count = 1;
  		long start = System.currentTimeMillis();
  
  		Revision rev;
  		Iterator<Revision> it = new RevisionIterator(config);
  
  		System.out.println(Time.toClock(System.currentTimeMillis() - start));
  
  		while (it.hasNext()) {
  			rev = it.next();
  
  			if (count++ % 10000 == 0) {
  
  				if (rev != null) {
  					System.out.println(rev.toString());
  				}
  			}
  		}
  
  		// w.close();
  		System.out.println(Time.toClock(System.currentTimeMillis() - start));
  	}
docs: TODO This should go into a demo or test class separated from the code here...