Jython Web 应用程序性能

发布于 2024-08-26 04:15:36 字数 133 浏览 3 评论 0原文

我目前正在构建 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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

私藏温柔 2024-09-02 04:15:36

您会在这里找到一个很好的比较: http://blog.dhananjaynene.com/2008/07/performance-comparison-c-java-python-ruby-jython-jruby-groovy/

Jython 速度较慢,但​​取决于你想要什么要做的话,这可能不是什么大问题。我使用 Jython 主要是为了允许我动态调试应用程序,它对此非常有用。

You'll find a nice comparison here: http://blog.dhananjaynene.com/2008/07/performance-comparison-c-java-python-ruby-jython-jruby-groovy/

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.

又怨 2024-09-02 04:15:36

一如既往,我会将一些东西放在一起(原型等)并进行测量。我相信,这是您获得有意义答案的唯一方式。

As always, I would put something together (a prototype etc.) and measure it. That's the only way you're going to get a meaningful answer, I believe.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文