-
Notifications
You must be signed in to change notification settings - Fork 34
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
Attribute性能问题 #17
Comments
应该可以优化,五一后好好看下 On Sun, Apr 28, 2013 at 4:22 PM, lianqin7 [email protected] wrote:
王保平 / 玉伯(射雕) |
稍微的提醒一下:) |
赞! |
目前 merge 和 isPlainObject 的执行次数减少了一半左右,但仍然还是 attribute 最耗时间的。 如再提高性能,需要整体重构了,影响比较大,视运行情况而定。 |
如图所示,在一个有 144个模块的中等复杂度的表单页面 ,除开seajs的一些函数调用,最废时间的就是 attitude 里的
isPlainObject
和merge
方法,这块是否能有提升的空间?The text was updated successfully, but these errors were encountered: