You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DryWetMIDI benchmarks (synthetic) for version 5.2.0
↓ means improvement by 1-2 times ↓↓ means improvement by 2-5 times ↓↓↓ means improvement by >5 times
Old ms is execution time on version 5.1.2 New ms is execution time on version 5.2.0 ms ↓↑ is execution time improvement (times) Old MB is allocated memory in megabytes on version 5.1.2 New MB is allocated memory in megabytes on version 5.2.0 MB ↓↑ is allocated memory improvement (times)
TrackChunk based
These benchmarks show performance improvement of methods accepting TrackChunk as an argument.
GetNotes
Benchmark
Old ms
New ms
ms ↓↑
Old MB
New MB
MB ↓↑
GetNotes_NotesOnly
99.1
48.1
↓↓ 2.1 times
30.3
13.4
↓↓ 2.3 times
GetNotes_NoNotes
50.6
5.5
↓↓↓ 9.3 times
12.8
4.8
↓↓ 2.7 times
GetNotes_EventsWithinNote
57.7
19.8
↓↓ 2.9 times
13.8
8.6
↓ 1.6 times
GetTimedEvents
Benchmark
Old ms
New ms
ms ↓↑
Old MB
New MB
MB ↓↑
GetTimedEvents
475.4
234.1
↓↓ 2 times
73.3
49.7
↓ 1.5 times
ProcessNotes
Benchmark
Old ms
New ms
ms ↓↑
Old MB
New MB
MB ↓↑
ProcessNotes_NotesOnly
117
32.3
↓↓ 3.6 times
31.7
11.1
↓↓ 2.8 times
ProcessNotes_NotesOnly_Time
115.4
35
↓↓ 3.3 times
31.7
11.2
↓↓ 2.8 times
ProcessNotes_NoNotes
76.5
11.7
↓↓↓ 6.6 times
14
2.7
↓↓↓ 5.2 times
ProcessNotes_NoNotes_Time
76.4
11.7
↓↓↓ 6.5 times
14
2.7
↓↓↓ 5.2 times
ProcessNotes_EventsWithinNote
73.6
27.2
↓↓ 2.7 times
15
6.5
↓↓ 2.3 times
ProcessNotes_EventsWithinNote_Time
73.8
27.5
↓↓ 2.7 times
15
6.5
↓↓ 2.3 times
ProcessTimedEvents
Benchmark
Old ms
New ms
ms ↓↑
Old MB
New MB
MB ↓↑
ProcessTimedEvents
712.6
131.9
↓↓↓ 5.4 times
76.7
26.7
↓↓ 2.9 times
ProcessTimedEvents_Time
696.5
144.5
↓↓ 4.8 times
76.7
26.7
↓↓ 2.9 times
RemoveNotes
Benchmark
Old ms
New ms
ms ↓↑
Old MB
New MB
MB ↓↑
RemoveNotes_NotesOnly_RemoveNone
106.4
11.4
↓↓↓ 9.3 times
30.9
10.7
↓↓ 2.9 times
RemoveNotes_NotesOnly_RemoveEverySecond
89
12.2
↓↓↓ 7.3 times
91.7
27.1
↓↓ 3.4 times
RemoveNotes_NotesOnly_RemoveAll
94
11.7
↓↓↓ 8 times
87.5
22.9
↓↓ 3.8 times
RemoveNotes_NoNotes_RemoveNone
76.1
3.9
↓↓↓ 19.4 times
14
2.3
↓↓↓ 6.1 times
RemoveNotes_NoNotes_RemoveEverySecond
72.9
3.9
↓↓↓ 18.6 times
14
2.3
↓↓↓ 6.1 times
RemoveNotes_NoNotes_RemoveAll
74.8
3.8
↓↓↓ 19.5 times
14
2.3
↓↓↓ 6.1 times
RemoveNotes_EventsWithinNote_RemoveNone
72.4
11.2
↓↓↓ 6.5 times
15
6.1
↓↓ 2.5 times
RemoveNotes_EventsWithinNote_RemoveEverySecond
76.6
3.9
↓↓↓ 19.5 times
14
2.3
↓↓↓ 6.1 times
RemoveNotes_EventsWithinNote_RemoveAll
74.2
3.9
↓↓↓ 19.2 times
14
2.3
↓↓↓ 6.1 times
RemoveTimedEvents
Benchmark
Old ms
New ms
ms ↓↑
Old MB
New MB
MB ↓↑
RemoveTimedEvents_RemoveNone
502.5
27.5
↓↓↓ 18.2 times
65.3
22.9
↓↓ 2.8 times
RemoveTimedEvents_RemoveEverySecond
55.4
1.1
↓↓↓ 52 times
54.3
4.2
↓↓↓ 12.9 times
RemoveTimedEvents_RemoveAll
30
0.3
↓↓↓ 111.2 times
32.9
0
↓↓↓ ∞ times
MidiFile based
These benchmarks show performance improvement of methods accepting MidiFile as an argument.