osx - Java Performance on Macbook Pro (not GUI) -
i have java code fetch data sqlite
, linguistic processing (lemmatization) data , write modified data sqlite datebase
. database tables have indexes, query should fast although data joined. small program shall produce database being used in iphone app. on ubuntu pc
(14.04.3 lts) program runs fast, on macbook pro
(os x el capitan 10.11) runs 10 or more times slower.
java -version on ubuntu pc:
java version "1.7.0_80" java(tm) se runtime environment (build 1.7.0_80-b15) java hotspot(tm) 64-bit server vm (build 24.80-b11, mixed mode)
java -version on macbook:
java version "1.8.0_45" java(tm) se runtime environment (build 1.8.0_45-b14) java hotspot(tm) 64-bit server vm (build 25.45-b02, mixed mode)
i pointed eclipse jdk 7 in java->installed jres
have same version on ubuntu pc
the java command generated eclipse same on both machines:
/path/to/jdk7/java -dfile.encoding=utf-8 -classpath ... many jars ... my.package.myclass
how same speed on macbook
? java implementation not fast under mac os
?
Comments
Post a Comment