# runBenchmarks

## Synopsis

• Usage:
runBenchmarks
runBenchmarks x
runBenchmarks all
• Inputs:
• x, a string or list of strings
• Consequences:
• the benchmarks whose names occur in x are run. The output is in a standard format that can be inserted into a Macaulay2 source file as a comment. If x is omitted, then the "res39", "resG25", and "gbB148" are run. If x is all, then all the benchmarks are run.

## Description

The tests available are:
"deg2generic" -- gb of a generic ideal of codimension 2 and degree 2
"gb4by4comm" -- gb of the ideal of generic commuting 4 by 4 matrices over ZZ/101
"gb3445" -- gb of an ideal with elements of degree 3,4,4,5 in 8 variables
"gbB148" -- gb of Bayesian graph ideal #148
"res39" -- res of a generic 3 by 9 matrix over ZZ/101
"resG25" -- res of the coordinate ring of Grassmannian(2,5)
"yang-gb1" -- an example of Yang-Hui He arising in string theory
"yang-subring" -- an example of Yang-Hui He

 i1 : runBenchmarks "res39" -- beginning computation Wed Nov 17 05:02:49 PM CST 2021 -- Linux debian 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64 GNU/Linux -- Intel(R) Core(TM) i7-4960HQ CPU @ 2.60GHz GenuineIntel cpu MHz 2593.836 -- Macaulay2 1.19, compiled with gcc 10.3.0 -- res39: res of a generic 3 by 9 matrix over ZZ/101: .264594 seconds

## For the programmer

The object runBenchmarks is .