perf tunning

This commit is contained in:
wenshao
2013-01-11 20:47:02 +08:00
parent 12f32a25d6
commit 4e244ca3b8
2 changed files with 4 additions and 2 deletions
@@ -928,8 +928,8 @@ public final class JSONScanner implements JSONLexer {
return stringDefaultValue();
}
String strVal;
int start = index;
final String strVal;
final int start = index;
for (;;) {
ch = buf[index++];
if (ch == '\"') {
Executable
+2
View File
@@ -0,0 +1,2 @@
export AMPLXE_EXPERIMENTAL=1
/opt/intel/vtune_amplifier_xe/bin64/amplxe-cl -collect hotspots java -classpath target/classes/:target/test-classes/ com.alibaba.json.test.benchmark.BenchmarkMain