Revision b78dc00e1df00780f451cdc0608e731cf59bdc52 authored by Matthias J. Kannwischer on 27 September 2022, 06:43:59 UTC, committed by Matthias J. Kannwischer on 27 September 2022, 06:43:59 UTC
1 parent 37e0fef
convert_benchmarks.py
#!/usr/bin/env python3
import sys
from mupq import mupq
def usage():
print("Usage: python3 convert_benchmarks.py csv|md")
sys.exit(1)
if __name__ == "__main__":
if len(sys.argv) != 2:
usage()
if sys.argv[1] == "csv":
converter = mupq.CsvConverter()
elif sys.argv[1] == "md":
converter = mupq.MarkdownConverter()
else:
usage()
converter.convert()
Computing file changes ...