You are here: Tuning > Main Operations Performance > Insert Performance

Insert Performance

The following chapters provide some performance testing examples, revealing the most influential performance factors. Together with the examples there are some approximate time measurement values that were achieved on a Toshiba Sattelite Pro A120 notebook with 1Gb RAM 120GB ATA drive running on Vista. Please, note that these values are not guaranteed and can vary considerably depending on a hardware and software used.

In most of the tests the following simple object was used:

InsertPerformanceBenchmark.cs: Item
public class Item
     {

        public String _name;
        public Item _child;

        public Item()
         {

        }

        public Item(String name, Item child)
         {
            _name = name;
            _child = child;
        }
    }

In the tests Item objects were created with 3 levels of embedded Item objects. The amount of objects was varied for different tests.

Please, be cautious to compare results of different tests presented as different configurations are used in each test.

More Reading:

Download example code:

c#