Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

速度太慢 #1

Open
walnutpedia opened this issue Aug 27, 2014 · 4 comments
Open

速度太慢 #1

walnutpedia opened this issue Aug 27, 2014 · 4 comments

Comments

@walnutpedia
Copy link

hi,
公司的项目用的是ozjs,之前一直在用grunt做task runner,今天我试着用gulp跑了下项目,发现ozma这一步的时间有点太长了。grunt只用2s,gulp用了22s。

观察了一下,
unrecognized module: backbone-validation-src
undefined module: d3-src

这两句输出之后停了很长一段时间。
有什么办法么?

@kebot
Copy link
Owner

kebot commented Aug 28, 2014

能贴出你的 gulpfile.js 吗? @walnutzhang

@walnutpedia
Copy link
Author

@kebot
Copy link
Owner

kebot commented Sep 4, 2014

@walnutzhang 我发布了一个新版,主要是更新了下依赖。升级下再试试?(感觉用处不大)

另外,你是在watch里面更改文件触发了编译过程比较慢,还是直接运行 gulp scripts 也很慢?

根据你的描述,你这里应该已经进入ozma库的逻辑了, 每一步花费多少时间应该不会有多大差别。

@walnutpedia
Copy link
Author

有机会我再试下,thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants