IronRuby 上的 Cucumber 启动速度非常慢?
问题说明
我正在使用 IronRuby 0.9.1 和 cucumber 0.4.0.我还安装了 MRI 1.8.
I'm using IronRuby 0.9.1 and cucumber 0.4.0. I also have MRI 1.8 installed.
我创建了以下包装脚本 (icucumber.bat) 来在 IronRuby 上运行 cucumber
I've created the following wrapper script (icucumber.bat) to run cucumber on IronRuby
@ECHO OFF
REM This is to tell IronRuby where to find gems.
SET GEM_PATH=c:
ubylib
ubygems1.8
@"C:ironrubyinir.exe" "c:
ubyincucumber" %*
导航到 cucumber-0.4.0examplesi18nen 并运行:
Navigating to cucumber-0.4.0examplesi18nen and running:
cucumber features // takes about 4 seconds to complete
icucumber features // takes about 30 seconds to complete
IR 上的 Cucumber 初始化速度要慢得多,所以看起来.这是典型的吗?还是我设置不正确?
Cucumber on IR is MUCH slower to initialize, so it seems. Is this typical? Or did I set this up incorrectly?
正确答案
对我来说启动黄瓜大约需要 10 秒.IronRuby 的启动时间目前存在问题,但团队正在努力解决这个问题.IronRuby 在启动后的运行速度比 MRI 快得多(有人说是 MRI 的两倍!).
For me it takes about 10 seconds to start cucumber. Startup time is currently problematic in IronRuby but the team is working on it. You can find comfort in the fact that IronRuby, after it starts, works much faster than MRI (some say twice as fast!).
谢伊.
这篇好文章是转载于:编程之路
- 版权申明: 本站部分内容来自互联网,仅供学习及演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,请提供相关证据及您的身份证明,我们将在收到邮件后48小时内删除。
- 本站站名: 编程之路
- 本文地址: /reply/detail/tanhchcbhk
-
YouTube API 不能在 iOS (iPhone/iPad) 工作,但在桌面浏览器工作正常?
it1352 07-30 -
保持在后台运行的 iPhone 应用程序完全可操作
it1352 07-25 -
iPhone,一张图像叠加到另一张图像上以创建要保存的新图像?(水印)
it1352 07-17 -
使用 iPhone 进行移动设备管理
it1352 07-23 -
在android同时打开手电筒和前置摄像头
it1352 09-28 -
扫描 NFC 标签时是否可以启动应用程序?
it1352 08-02 -
检查邮件是否发送成功
it1352 07-25 -
Android微调工具-删除当前选择
it1352 06-20 -
希伯来语的空格句子标记化错误
it1352 06-22 -
Android App 和三星 Galaxy S4 不兼容
it1352 07-20