public void Read_UseFixedSizeBuffer()
            {
                var settings = new ReadingSettings();

                settings.ReaderSettings.BufferingPolicy = BufferingPolicy.UseFixedSizeBuffer;
                MidiFileReadBenchmarks.Read(FileFormat, FileSize, settings);
            }
            public void Read_BufferAllData()
            {
                var settings = new ReadingSettings();

                settings.ReaderSettings.BufferingPolicy = BufferingPolicy.BufferAllData;
                MidiFileReadBenchmarks.Read(FileFormat, FileSize, settings);
            }
Example #3
0
            public void Read_ReadFromMemory()
            {
                var settings = new ReadingSettings();

                settings.ReaderSettings.ReadFromMemory = true;
                MidiFileReadBenchmarks.Read(FileFormat, FileSize, settings);
            }
 public void Read()
 {
     MidiFileReadBenchmarks.Read(FileFormat, FileSize, new ReadingSettings());
 }