public void Count_Children_Of_CopyOF_Glass_With_Order_X_CODE() { PreferenceDataStructureEntity entity = Create_Exahustive_ModelGDS(); // time start Stopwatch stopWatch = new(); stopWatch.Start(); // search a glass that is copy of another glass Atom search = entity.Search("KEY_GLASS_2"); // with its order number int order = (int)search.Attributes["Order"]; for (int i = 0; i < 1000; i++) { // perform the search Atom atom = entity.ChildrenSearchByAttribute("Order", order); atom.CountChildrenOfCopy(); } stopWatch.Stop(); Console.WriteLine("RunTime Query: " + stopWatch.Elapsed.TotalMilliseconds); }