Jython Webapp性能 [英] Jython webapp performance
问题描述
我目前正在构建Jython Web应用程序,但担心Jython应用程序的性能.我感到安慰的是,我可以在单独的Java jar中编写任何计算密集型任务,然后从Jython调用它们.有没有人在执行此操作时遇到问题,或者预见到这种设置的问题?
I'm currently building a Jython web app but am concerned about Jython application performance. I take some comfort in that any compute intensive tasks I can write in a separate Java jar and invoke them from Jython. Has anyone had problems doing this, or forsee issues with such a setup?
推荐答案
您将在这里找到不错的比较: http://blog.dhananjaynene.com/2008/07/performance-comparison-c-java-python-ruby-jython-jruby -groovy/
You'll find a nice comparison here: http://blog.dhananjaynene.com/2008/07/performance-comparison-c-java-python-ruby-jython-jruby-groovy/
Jython的速度较慢,但是根据您要执行的操作,这可能不是一个大问题.我使用Jython的主要目的是允许我即时调试应用程序,为此它非常有用.
Jython is slower, but depending on what you want to do, that may not be a big problem. I use Jython primarily for allowing me to debug the application on the fly, and it works great for this.
这篇关于Jython Webapp性能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!