tests/perf_bench: Add some configurations for N=32, M=10.
For STM32L072 and similar, very low end targets. The other perf_bench tests run out of memory, crash, or fail on prerequisite features. Signed-off-by: Angus Gratton <gus@projectgus.com>
This commit is contained in:
parent
e76d88b531
commit
5568c324ba
|
@ -51,6 +51,7 @@ def fannkuch(n):
|
|||
# Benchmark interface
|
||||
|
||||
bm_params = {
|
||||
(32, 10): (3,),
|
||||
(50, 10): (5,),
|
||||
(100, 10): (6,),
|
||||
(500, 10): (7,),
|
||||
|
|
|
@ -46,7 +46,7 @@ def n_queens(queen_count):
|
|||
# Benchmark interface
|
||||
|
||||
bm_params = {
|
||||
(50, 25): (1, 5),
|
||||
(32, 10): (1, 5),
|
||||
(100, 25): (1, 6),
|
||||
(1000, 100): (1, 7),
|
||||
(5000, 100): (1, 8),
|
||||
|
|
|
@ -36,6 +36,7 @@ def gen_pi_digits(n):
|
|||
# Benchmark interface
|
||||
|
||||
bm_params = {
|
||||
(32, 10): (1, 20),
|
||||
(50, 25): (1, 35),
|
||||
(100, 100): (1, 65),
|
||||
(1000, 1000): (2, 250),
|
||||
|
|
|
@ -73,7 +73,7 @@ def test(r):
|
|||
# Benchmark interface
|
||||
|
||||
bm_params = {
|
||||
(100, 10): (50,),
|
||||
(32, 10): (50,),
|
||||
(1000, 10): (500,),
|
||||
(5000, 10): (5000,),
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@ def test(r):
|
|||
# Benchmark interface
|
||||
|
||||
bm_params = {
|
||||
(100, 10): (400,),
|
||||
(32, 10): (400,),
|
||||
(1000, 10): (4000,),
|
||||
(5000, 10): (40000,),
|
||||
}
|
||||
|
|
|
@ -260,7 +260,9 @@ def main():
|
|||
)
|
||||
cmd_parser.add_argument("--via-mpy", action="store_true", help="compile code to .mpy first")
|
||||
cmd_parser.add_argument("--mpy-cross-flags", default="", help="flags to pass to mpy-cross")
|
||||
cmd_parser.add_argument("N", nargs=1, help="N parameter (approximate target CPU frequency)")
|
||||
cmd_parser.add_argument(
|
||||
"N", nargs=1, help="N parameter (approximate target CPU frequency in MHz)"
|
||||
)
|
||||
cmd_parser.add_argument("M", nargs=1, help="M parameter (approximate target heap in kbytes)")
|
||||
cmd_parser.add_argument("files", nargs="*", help="input test files")
|
||||
args = cmd_parser.parse_args()
|
||||
|
|
Loading…
Reference in New Issue