https://github.com/mupq/pqm4
Revision 2f3b8bdde924070db277213bdc33220cc64479c6 authored by Erdem ALKIM on 30 January 2020, 13:35:35 UTC, committed by GitHub on 30 January 2020, 13:35:35 UTC
1 parent f0f573e
Tip revision: 2f3b8bdde924070db277213bdc33220cc64479c6 authored by Erdem ALKIM on 30 January 2020, 13:35:35 UTC
Remove unneeded file in NewHope m4 (#130)
Remove unneeded file in NewHope m4 (#130)
Tip revision: 2f3b8bd
benchmarks.py
#!/usr/bin/env python3
from mupq import mupq
from interface import M4Settings, M4
import sys
if __name__ == "__main__":
with M4() as m4:
if "--nostack" not in sys.argv:
test = mupq.StackBenchmark(M4Settings(), m4)
test.test_all(sys.argv[1:])
if "--nospeed" not in sys.argv:
test = mupq.SpeedBenchmark(M4Settings(), m4)
test.test_all(sys.argv[1:])
if "--nohashing" not in sys.argv:
test = mupq.HashingBenchmark(M4Settings(), m4)
test.test_all(sys.argv[1:])
if "--nosize" not in sys.argv:
test = mupq.SizeBenchmark(M4Settings(), m4)
test.test_all(sys.argv[1:])
Computing file changes ...