Skip to content

Instantly share code, notes, and snippets.

@GreyCat
GreyCat / BenchmarkMidi.scala
Created October 26, 2016 08:29
Benchmark FastParse + MidiParse
import java.nio.file.{Files, Paths}
import fastparse.byte.Midi.MidiData.Controller
import fastparse.byte.Midi.MidiEvent
import fastparse.byte.MidiParse
import scodec.bits.ByteVector
import java.text.DecimalFormat
import java.text.DecimalFormatSymbols
import java.util.Locale