public void BenchmarkBigRandom() { var tree = Library.CreateTreeNode <SnapUInt32, SnapUInt32>(EncodingDefinition.FixedSizeCombinedEncoding, 0); LeafNodeTest.TestSpeed(tree, new RandomTest(), 5000, 4096); }
public void BenchmarkReverseSequently() { var tree = Library.CreateTreeNode <SnapUInt32, SnapUInt32>(EncodingDefinition.FixedSizeCombinedEncoding, 0); LeafNodeTest.TestSpeed(tree, new ReverseSequentialTest(), 500, 512); }
public void TestRandom() { SortedTreeNodeBase <SnapUInt32, SnapUInt32> tree = Library.CreateTreeNode <SnapUInt32, SnapUInt32>(EncodingDefinition.FixedSizeCombinedEncoding, 0); LeafNodeTest.TestNode(tree, new RandomTest(), 2000); }
public void TestReverseSequently() { SortedTreeNodeBase <SnapUInt32, SnapUInt32> tree = Library.CreateTreeNode <SnapUInt32, SnapUInt32>(EncodingDefinition.FixedSizeCombinedEncoding, 0); LeafNodeTest.TestNode(tree, new ReverseSequentialTest(), 5000); }
public void BenchmarkRandom() { SortedTreeNodeBase <SnapUInt32, SnapUInt32> tree = Library.CreateTreeNode <SnapUInt32, SnapUInt32>(EncodingDefinition.FixedSizeCombinedEncoding, 0); LeafNodeTest.TestSpeed(tree, new RandomTest(), 500, 512); }
public void BenchmarkSequently() { SortedTreeNodeBase<SnapInt32, SnapInt32> tree = Library.CreateTreeNode<SnapInt32, SnapInt32>(EncodingDefinition.FixedSizeCombinedEncoding, 0); LeafNodeTest.TestSpeed(tree, new SequentialTestInt(), 500, 512); }