https://github.com/mupq/pqm4
Revision 8a1a4762c4508a2eaa7a29f899f1eac336d9e50c authored by Ko- on 24 September 2019, 07:19:14 UTC, committed by Ko- on 24 September 2019, 07:22:20 UTC
1 parent 8e662d7
Tip revision: 8a1a4762c4508a2eaa7a29f899f1eac336d9e50c authored by Ko- on 24 September 2019, 07:19:14 UTC
Update LUOV to v2.1
Update LUOV to v2.1
Tip revision: 8a1a476
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 ...