我可以配置 code_swarm 只创建没有视觉显示的 png 文件吗?
有没有办法将 code_swarm 配置为仅创建 .png 文件。 我认为如果它在创建图像时不尝试显示,它会加快处理速度。
我查看了常见问题解答,但没有特别注意到任何相关内容。
Is there a way to configure code_swarm to only create the .png files. I think it would speed up the processing if it wasn't trying to display as it created the images.
I've looked in the FAQ, but didn't notice anything about that in particular.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你是对的,它可能会加快速度,尽管我怀疑速度没有你希望的那么快。 官方问题跟踪器中有一个与此相关的未决问题:http:// code.google.com/p/codeswarm/issues/detail?id=37
总结一下:上次我检查时,Processing.org(我们用于绘图的库)不支持在无头模式下运行。 有几个人尝试过这样做,但运气不佳。 如果您唯一关心的是性能,我不会担心这个。 如果它运行太慢,我可以建议我自己的项目分支,它的速度要快得多(是的,我确实打算在某个时候将它集成回主 svn 存储库): http://github.com/rictic/code_swarm/
You're right, it probably would speed things up, though I suspect not by as much as you might hope. There's an open issue about this in the official issue tracker: http://code.google.com/p/codeswarm/issues/detail?id=37
To summarize: last time I checked, Processing.org – the library we use for drawing – doesn't support running in headless mode. A couple of people have looked into doing it without much luck. If your only concern is performance, I wouldn't worry about this. If it's running too slow, might I suggest my own fork of the project, it's remarkably faster (yes, I do intend on integrating it back into the main svn repo sometime): http://github.com/rictic/code_swarm/