https://github.com/mupq/pqm4
Revision e20975503b48098cf4c40e8a4ebe47cb3bf63c10 authored by Joost Rijneveld on 21 May 2019, 12:56:04 UTC, committed by Matthias J. Kannwischer on 27 May 2019, 00:39:37 UTC
1 parent 1f1b96f
Tip revision: e20975503b48098cf4c40e8a4ebe47cb3bf63c10 authored by Joost Rijneveld on 21 May 2019, 12:56:04 UTC
Fix typo in ldscript Makefile selection
Fix typo in ldscript Makefile selection
Tip revision: e209755
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 ...