Skip to content

Benchmarks

Kasey O edited this page Dec 1, 2017 · 2 revisions

These charts represent comparisons of identical operations comparing on RankedDictionary versus SortedDictionary or RankedSet versus SortedSet. The first chart shows RankedDictionary's improved performance on add operations. For smaller dictionaries (e.g. 50,000 elements or fewer), SortedDictionary will have the advantage.

web page image

The second chart shows RankedDictionary's improved performance on retrieval operations.

web page image

The third chart shows Ranked dictionary's improved performance on iteration. RankedDictionary will show the greatest performance improvement on enumerator usage - passing a factor of three for large dictionaries.

web page image

The next chart benchmarks the RemoveWhere operations. Note that RankedSet completes these tests so quickly compared to SortedSet that they do not show on the chart.

web page image

Clone this wiki locally