脚本语言

脚本语言 个人评价 说明
Groovy +++
Jython / python的java实现
Rhino ++ javascript的java实现
JudoScript -
Beanshell +
Jess /
Jelly /
BeanScriptingFramework /
Tcl/Java /
JRuby / Ruby的java实现
Pnuts /
ObjectScript +++
Seppia --
Sleep + 类似perl
PHP/Java Bridge /
Inline:Java /
LauJava -
Yoix ++
Hecl -
JBasic - Basic的java实现

Benchmarks:

 

bench.os bench.js bench.py bench.bsh bench.judo Results for ObjectScript: Test Time (ms) total:  Results for Rhino: Test Time (ms) total:  Results for Jython: Test Time (ms) total:  Results for BeanShell: Test Time (ms) total:  Results for JudoScript: Test Time (ms) total: 
simple loop:  646
simple fxn:  1426
simple fxn with arg:  4079
simple fxn with local:  3185
member dereference:  1026
string concat:  3
java class access:  1511
11876
simple loop:  1676
simple fxn:  2640
simple fxn with arg:  3090
simple fxn with local:  2645
member dereference:  1881
string concat:  6542
java class access:  2944
21418
simple loop:  4492
simple fxn:  5901
simple fxn with arg:  6591
simple fxn with local:  6044
member dereference:  5917
string concat:  285
29230
simple loop:  15986
simple fxn:  28547
simple fxn with arg:  35311
simple fxn with local:  36185
member dereference:  17227
string concat:  5275
java class access:  50757
189288
simple loop:  29302
simple fxn:  390743
simple fxn with arg:  403152
simple fxn with local:  618718
string concat:  4617
1446532

你可能感兴趣的:(java,脚本,groovy,Tcl,jython)