<commit_before>Seed({
		name : "Mold.Test.Lib.VDom.RootNode",
		dna : "test"
	},
	function(RootNode){

		describe("Test Mold.Lib.VDom.RootNode", function(){
			var node;

			it("create node", function(){
				var start = performance.now();
				/*
				node = new RootNode({
					content : "<ul> {{#mylist}} <li> <div> {{#sublist}} {{test}} {{/sublist}} </div> </li>  {{/mylist}} </ul> asd"
				});
				*/
				node = new RootNode({
					content : "<ul> {{#mylist}} <li class=\"in-attribute {{listclass}}\"> <div> {{test}}  </div> </li>  {{/mylist}} </ul> asd"
				});
				console.log("parse time", performance.now() - start)
				console.log(node)
				
				/*expect(node.children.mylist).toBeDefined();
				expect(node.children.mylist.children.sublist).toBeDefined()
				expect(node.children.mylist.children.sublist.children.var).toBeDefined()*/
			})

			it("set node data", function(){
				
				var start = performance.now();
				var data = [];
				/*
				for(var i =0; i < 1000; i++){
					data.push({ sublist : { test : Math.random() }})
				}
				*/
				for(var i =0; i < 10; i++){
					data.push({  test : "1 -" + Math.random(), listclass : i + " test" })
				}
				
				node.setData({
					mylist : data
				})
				console.log("set data", performance.now() - start)
			})

			it("render node", function(){
				var start = performance.now();
				var result = node.render();
				//console.log("result", result)
				console.log("render data", performance.now() - start)
				document.body.appendChild(result);
			});

			xit("set twice node data", function(done){
				window.setTimeout(function(){
					console.log("more")
					var start = performance.now();
					var data = [];
					/*
					for(var i =0; i < 1000; i++){
						data.push({ sublist : { test : Math.random() }})
					}
					*/
					for(var i =0; i < 1000; i++){
						data.push({  test : "2 -" + Math.random(), listclass : i * 10 + " test"  })
					}
					
					node.setData({
						mylist : data
					})
					console.log("more data", performance.now() - start)
					done();
				}, 500);
			})
			
			xit("render twice node", function(){
				var start = performance.now();
				var result = node.update();
				//console.log("result", result)
				console.log("render data", performance.now() - start)
			
			});



			




		})
	}
)<commit_msg>komplex tests added<commit_after>Seed({
		name : "Mold.Test.Lib.VDom.RootNode",
		dna : "test"
	},
	function(RootNode){

		describe("Test Mold.Lib.VDom.RootNode", function(){
			var node;

			it("create node", function(){
				var start = performance.now();
				/*
				node = new RootNode({
					content : "<ul> {{#mylist}} <li> <div> {{#sublist}} {{test}} {{/sublist}} </div> </li>  {{/mylist}} </ul> asd"
				});
				*/
				node = new RootNode({
					content : "<ul> {{#mylist}} <li class=\"in-attribute {{listclass}} {{#mysublist}} {{subtest}} {{/mysublist}}\"> <div> {{test}}  </div> </li>  {{/mylist}} </ul> asd"
				});
				console.log("parse time", performance.now() - start)
				console.log(node)
				
				/*expect(node.children.mylist).toBeDefined();
				expect(node.children.mylist.children.sublist).toBeDefined()
				expect(node.children.mylist.children.sublist.children.var).toBeDefined()*/
			})

			it("set node data", function(){
				
				var start = performance.now();
				var data = [];
				/*
				for(var i =0; i < 1000; i++){
					data.push({ sublist : { test : Math.random() }})
				}
				*/
				for(var i =0; i < 10; i++){
					data.push({  
						test : "1 -" + Math.random(), 
						listclass : i + " test",
						mysublist : [
							{ subtest : "irgendwas-" + Math.random()+"-" }
						]
					})
				}
				
				node.setData({
					mylist : data
				})
				
				console.log("set data", performance.now() - start)
			})

			it("render node", function(){
				var start = performance.now();
				var result = node.render();
				//console.log("result", result)
				console.log("render data", performance.now() - start)
				document.body.appendChild(result);
			});

			xit("set twice node data", function(done){
				window.setTimeout(function(){
					console.log("more")
					var start = performance.now();
					var data = [];
					/*
					for(var i =0; i < 1000; i++){
						data.push({ sublist : { test : Math.random() }})
					}
					*/
					for(var i =0; i < 1000; i++){
						data.push({  
							test : "2 -" + Math.random(),
							listclass : i * 10 + " test"
						})
					}
					
					node.setData({
						mylist : data
					})
					console.log("more data", performance.now() - start)
					done();
				}, 500);
			})
			
			xit("render twice node", function(){
				var start = performance.now();
				var result = node.update();
				//console.log("result", result)
				console.log("render data", performance.now() - start)
			
			});


			xit("set less data then before ", function(done){
				window.setTimeout(function(){
					console.log("more")
					var start = performance.now();
					var data = [];
					/*
					for(var i =0; i < 1000; i++){
						data.push({ sublist : { test : Math.random() }})
					}
					*/
					for(var i =0; i < 30; i++){
						data.push({  
							test : "2 -" + Math.random(),
							listclass : i * 10 + " test"
						})
					}
					
					node.setData({
						mylist : data
					})
					console.log("more data", performance.now() - start)
					done();
				}, 500);
			})
			
			xit("render with less data", function(){
				var start = performance.now();
				var result = node.render();
				//console.log("result", result)
				console.log("render data", performance.now() - start)
			
			});


			




		})
	}
)
{'fraction_non_alphanumeric': 0.20021528525296017, 'fraction_numerical': 0.011481880157875853, 'mean_word_length': 2.2755581668625147, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 27, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2204609', 'n_tokens_mistral': 2578, 'n_tokens_neox': 1874, 'n_words': 418}