https://github.com/mupq/pqm4
Revision 8110b02a789d7969145230a1d43a2b21c3c182b6 authored by Matthias J. Kannwischer on 27 July 2020, 02:15:28 UTC, committed by Matthias J. Kannwischer on 27 July 2020, 02:15:28 UTC
1 parent 3a94b91
Tip revision: 8110b02a789d7969145230a1d43a2b21c3c182b6 authored by Matthias J. Kannwischer on 27 July 2020, 02:15:28 UTC
instead of sending more markers; just add delay in hal_setup
instead of sending more markers; just add delay in hal_setup
Tip revision: 8110b02
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 ...