文件名称:millionnodesjstree
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:42.52kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
本人前年写的东西
连续插入节点性能
起始数 插入节点数 IE耗时(秒) FF耗时(秒)
11,111 1000 2.469 0.344
12,111 1000 2.891 0.406
13,111 1000 3.484 0.469
14,111 1000 3.984 0.921
15,111 1000 4.468 0.562
当前总结点数16,111
将从第二层开始的全部收起,性能大有提升
起始数 插入节点数 IE耗时(秒) FF耗时(秒)
16,111 1000 2.375 0.219
17,111 1000 2.5 0.25
插入节点时,性能实际上是很好的,只是因为插入节点后要重新计算所有展开的节点,
这是一个相当耖时的工作,如果改进算法,将展开的节点数控制在1000以内,那么不管是插入或是删除,
性能都会大有提升,这样即使是在IE下生成10W节点都是可能的,当然在 FF下100万节点也许都可能
在这个测试中,FF表现很好,性能差不多达到了IE的10倍-Insert a row node performance
Starting IE several time-consuming to insert nodes (sec) FF time (seconds)
11,111 1,000 2.469 0.344
12,111 1,000 2.891 0.406
13,111 1,000 3.484 0.469
14,111 1,000 3.984 0.921
15,111 1,000 4.468 0.562
Summing up the current 16,111 points
From the beginning of the second level all away, go a long way to enhance performance
Starting IE several time-consuming to insert nodes (sec) FF time (seconds)
16,111 1,000 2.375 0.219
17,111 1,000 2.5 0.25
Insert node, the performance is actually very good, but because of the node to insert after the start to a recalculation of all the nodes,
This is a working center, if the improved algorithm, the number of nodes to be launched in 1000 within the control, then either insert or delete,
Will greatly enhance performance, so even if IE is the next generation of 10W in the node are possible, of course, in the FF may be the next one million nodes can be
In this test, FF good performance, the performa
连续插入节点性能
起始数 插入节点数 IE耗时(秒) FF耗时(秒)
11,111 1000 2.469 0.344
12,111 1000 2.891 0.406
13,111 1000 3.484 0.469
14,111 1000 3.984 0.921
15,111 1000 4.468 0.562
当前总结点数16,111
将从第二层开始的全部收起,性能大有提升
起始数 插入节点数 IE耗时(秒) FF耗时(秒)
16,111 1000 2.375 0.219
17,111 1000 2.5 0.25
插入节点时,性能实际上是很好的,只是因为插入节点后要重新计算所有展开的节点,
这是一个相当耖时的工作,如果改进算法,将展开的节点数控制在1000以内,那么不管是插入或是删除,
性能都会大有提升,这样即使是在IE下生成10W节点都是可能的,当然在 FF下100万节点也许都可能
在这个测试中,FF表现很好,性能差不多达到了IE的10倍-Insert a row node performance
Starting IE several time-consuming to insert nodes (sec) FF time (seconds)
11,111 1,000 2.469 0.344
12,111 1,000 2.891 0.406
13,111 1,000 3.484 0.469
14,111 1,000 3.984 0.921
15,111 1,000 4.468 0.562
Summing up the current 16,111 points
From the beginning of the second level all away, go a long way to enhance performance
Starting IE several time-consuming to insert nodes (sec) FF time (seconds)
16,111 1,000 2.375 0.219
17,111 1,000 2.5 0.25
Insert node, the performance is actually very good, but because of the node to insert after the start to a recalculation of all the nodes,
This is a working center, if the improved algorithm, the number of nodes to be launched in 1000 within the control, then either insert or delete,
Will greatly enhance performance, so even if IE is the next generation of 10W in the node are possible, of course, in the FF may be the next one million nodes can be
In this test, FF good performance, the performa
(系统自动生成,下载前可以参看下载内容)
下载文件列表
tree/10000NodessTree.htm
tree/bin/kernel.js
tree/bin/runtime.js
tree/classes/chpn/ExpressList.jsc
tree/classes/chpn/ExpressListModule.jsc
tree/classes/chpn/ExpressTree.jsc
tree/classes/chpn/ExpressTreeNode.jsc
tree/classes/chpn/ExpTreeEvent.jsc
tree/classes/chpn/FireMouseWheelEvent.jsc
tree/classes/chpn/images/blank.png
tree/classes/chpn/images/file.png
tree/classes/chpn/images/foldericon.png
tree/classes/chpn/images/I.png
tree/classes/chpn/images/L.png
tree/classes/chpn/images/Lminus.png
tree/classes/chpn/images/Lplus.png
tree/classes/chpn/images/new.png
tree/classes/chpn/images/openfoldericon.png
tree/classes/chpn/images/T.png
tree/classes/chpn/images/Thumbs.db
tree/classes/chpn/images/Tminus.png
tree/classes/chpn/images/Tplus.png
tree/classes/chpn/images/tree.css
tree/classes/chpn/ScrollModule.jsc
tree/classes/chpn/ScrollModule.sdoc
tree/classes/org/w3c/dom/DOMException.jsc
tree/classes/org/w3c/dom/events/Event.jsc
tree/classes/org/w3c/dom/events/EventException.jsc
tree/classes/org/w3c/dom/events/EventListener.jsc
tree/classes/org/w3c/dom/events/EventTarget.jsc
tree/jsre.js
tree/LICENSE
tree/MillionNodesTree.htm
tree/tree.htm
tree/classes/org/w3c/dom/events
tree/classes/org/w3c/dom
tree/classes/chpn/images
tree/classes/org/w3c
tree/classes/chpn
tree/classes/org
tree/bin
tree/classes
tree
updatenotes.txt
tree/bin/kernel.js
tree/bin/runtime.js
tree/classes/chpn/ExpressList.jsc
tree/classes/chpn/ExpressListModule.jsc
tree/classes/chpn/ExpressTree.jsc
tree/classes/chpn/ExpressTreeNode.jsc
tree/classes/chpn/ExpTreeEvent.jsc
tree/classes/chpn/FireMouseWheelEvent.jsc
tree/classes/chpn/images/blank.png
tree/classes/chpn/images/file.png
tree/classes/chpn/images/foldericon.png
tree/classes/chpn/images/I.png
tree/classes/chpn/images/L.png
tree/classes/chpn/images/Lminus.png
tree/classes/chpn/images/Lplus.png
tree/classes/chpn/images/new.png
tree/classes/chpn/images/openfoldericon.png
tree/classes/chpn/images/T.png
tree/classes/chpn/images/Thumbs.db
tree/classes/chpn/images/Tminus.png
tree/classes/chpn/images/Tplus.png
tree/classes/chpn/images/tree.css
tree/classes/chpn/ScrollModule.jsc
tree/classes/chpn/ScrollModule.sdoc
tree/classes/org/w3c/dom/DOMException.jsc
tree/classes/org/w3c/dom/events/Event.jsc
tree/classes/org/w3c/dom/events/EventException.jsc
tree/classes/org/w3c/dom/events/EventListener.jsc
tree/classes/org/w3c/dom/events/EventTarget.jsc
tree/jsre.js
tree/LICENSE
tree/MillionNodesTree.htm
tree/tree.htm
tree/classes/org/w3c/dom/events
tree/classes/org/w3c/dom
tree/classes/chpn/images
tree/classes/org/w3c
tree/classes/chpn
tree/classes/org
tree/bin
tree/classes
tree
updatenotes.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.