Skip to content

Instantly share code, notes, and snippets.

@RainerW
RainerW / StringUtilsTest.java
Created September 25, 2012 11:32 — forked from chbaranowski/StringUtilsTest.java
Compate Apache Common Lang StringUtils split performance with Google Guava Splitter split method.
import com.google.common.base.Splitter;
import org.apache.commons.lang.RandomStringUtils;
import org.apache.commons.lang.math.RandomUtils;
import org.apache.commons.lang3.StringUtils;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
import org.springframework.util.StopWatch;
import java.util.Iterator;