简体   繁体   English

使用Eclipse TPTP对Google App Engine项目进行性能分析?

[英]Profiling Google App Engine Project With Eclipse TPTP?

How can I profile a google app engine project locally with the Eclipse Test & Performance Tools Platform? 如何使用Eclipse测试和性能工具平台在本地分析Google App Engine项目?

I already installed the plugin, but when I choose to profile it, there is no option to profile it as a web application, only as a java application which doesn't work. 我已经安装了该插件,但是当我选择对其进行概要分析时,没有选择将其概要分析为Web应用程序,而只能作为无法正常工作的Java应用程序。

Update: It asks for a main class and I choose com.google.appengine.tools.development.DevAppServerMain which is the same Main class my run configuration uses, but then there is an error under the Monitor tab that says "IWAT0435E An error occured when connecting to the host." 更新:它要求一个主类,我选择com.google.appengine.tools.development.DevAppServerMain ,它与我的运行配置所使用的主类相同,但是在Monitor选项卡下出现错误,提示“ IWAT0435E发生了错误连接到主机时。”

UPDATE 2: I got rid of the error from update 1 by reinstalling eclipse. 更新2:通过重新安装eclipse,我摆脱了更新1中的错误。 Now it doesn't throw any errors, but it doesn't seem like it's starting the server at all because no log messages show up on the console, and I can't connect to the web app on localhost. 现在它不会引发任何错误,但是它似乎根本没有启动服务器,因为控制台上没有日志消息出现,而且我无法连接到本地主机上的Web应用程序。

I suggest not to use the TPTP plugin anymore as it is kind of dead (-> project plan ). 我建议不要再使用TPTP插件,因为它已经死了(-> project plan )。

Take a look at the CodePro Plugin contributed to the eclipse platform recently (by google). 看看最近对Eclipse平台做出贡献的CodePro插件 (由Google提供)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM