Skip to content

Instantly share code, notes, and snippets.

@mhshams
Created August 2, 2013 01:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mhshams/6136923 to your computer and use it in GitHub Desktop.
Save mhshams/6136923 to your computer and use it in GitHub Desktop.
final results
/opt/jdk1.8.0/bin/java -Didea.launcher.port=7533 -Didea.launcher.bin.path=/opt/idea-IU-129.161/bin -Dfile.encoding=UTF-8 -classpath /opt/jdk1.8.0/jre/lib/rt.jar:/opt/jdk1.8.0/jre/lib/javaws.jar:/opt/jdk1.8.0/jre/lib/charsets.jar:/opt/jdk1.8.0/jre/lib/jfr.jar:/opt/jdk1.8.0/jre/lib/jsse.jar:/opt/jdk1.8.0/jre/lib/jce.jar:/opt/jdk1.8.0/jre/lib/resources.jar:/opt/jdk1.8.0/jre/lib/management-agent.jar:/opt/jdk1.8.0/jre/lib/plugin.jar:/opt/jdk1.8.0/jre/lib/deploy.jar:/opt/jdk1.8.0/jre/lib/ext/sunec.jar:/opt/jdk1.8.0/jre/lib/ext/sunpkcs11.jar:/opt/jdk1.8.0/jre/lib/ext/dnsns.jar:/opt/jdk1.8.0/jre/lib/ext/cldrdata.jar:/opt/jdk1.8.0/jre/lib/ext/sunjce_provider.jar:/opt/jdk1.8.0/jre/lib/ext/zipfs.jar:/opt/jdk1.8.0/jre/lib/ext/localedata.jar:/home/me/code/string-intern/out/production/string-intern:/opt/idea-IU-129.161/lib/idea_rt.jar com.intellij.rt.execution.application.AppMain StringKeyTest
With Warm up String: 82373148
With Warm up Object: 30957921
With Warm up Builder: 72123213
With Warm up String: 61386367
With Warm up Object: 19881459
With Warm up Builder: 62528370
With Warm up String: 61812522
With Warm up Object: 20099252
With Warm up Builder: 61996118
With Warm up String: 87590973
With Warm up Object: 20599927
With Warm up Builder: 64988977
With Warm up String: 63381428
With Warm up Object: 20683965
With Warm up Builder: 65035070
With Builder: 64399772
With Object: 21495710
With String: 63765631
With Builder: 64593305
With Object: 20694519
With String: 63954778
With Builder: 65222888
With Object: 20614063
With String: 64720580
With Builder: 64673253
With Object: 21894566
With String: 66078005
With Builder: 71151279
With Object: 21875012
With String: 70372509
With Builder: 70359261
With Object: 22055939
With String: 229209317
With Builder: 64416578
With Object: 20819902
With String: 62949968
With Builder: 64405351
With Object: 21441941
With String: 62335586
With Builder: 63516989
With Object: 21089038
With String: 63401139
With Builder: 63771286
With Object: 21804862
With String: 62572042
####################################
Final Result for Object: 0213785552
Final Result for Builder: 0656509962
Final Result for String: 0809359555
####################################
String / Object: 3.785848
Builder / Object: 3.070881
String / Builder: 1.232821
Process finished with exit code 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment