diff --git a/benchmarks/Makefile b/benchmarks/Makefile index 4ecebc032b32..020638d3115e 100644 --- a/benchmarks/Makefile +++ b/benchmarks/Makefile @@ -1,120 +1,121 @@ COMMENT = Benchmarking tools SUBDIR += ali SUBDIR += apib SUBDIR += autobench SUBDIR += blogbench SUBDIR += bombardier SUBDIR += bonnie SUBDIR += bonnie++ SUBDIR += clpeak SUBDIR += cpipe SUBDIR += dbench SUBDIR += ddosify SUBDIR += dhrystone SUBDIR += dkftpbench SUBDIR += fhourstones SUBDIR += filebench SUBDIR += fio SUBDIR += flamegraph SUBDIR += flops SUBDIR += flowgrind SUBDIR += forkbomb SUBDIR += glmark2 SUBDIR += gtkperf SUBDIR += hey SUBDIR += himenobench SUBDIR += hipercontracer SUBDIR += hpl SUBDIR += httperf SUBDIR += hyperfine SUBDIR += imb SUBDIR += inferno SUBDIR += interbench SUBDIR += ior SUBDIR += iorate SUBDIR += iozone SUBDIR += iozone21 SUBDIR += iperf SUBDIR += iperf3 SUBDIR += kdiskmark SUBDIR += libcelero SUBDIR += libmicro SUBDIR += linux-gputest SUBDIR += linux-unigine-heaven SUBDIR += linux-unigine-sanctuary SUBDIR += linux-unigine-superposition SUBDIR += linux-unigine-tropics SUBDIR += linux-unigine-valley SUBDIR += linux-vdbench SUBDIR += lmbench SUBDIR += lzbench SUBDIR += mangohud SUBDIR += mdtest SUBDIR += mst-bench SUBDIR += nbench SUBDIR += netio SUBDIR += netperf SUBDIR += netperfmeter SUBDIR += nosqlbench SUBDIR += nqueens SUBDIR += nttcp SUBDIR += nuttcp SUBDIR += octave-forge-benchmark SUBDIR += p5-Benchmark-Forking SUBDIR += p5-Benchmark-Stopwatch SUBDIR += p5-Dumbbench SUBDIR += pathchirp SUBDIR += pathload SUBDIR += pathrate SUBDIR += pear-Benchmark SUBDIR += perftest SUBDIR += phoronix-test-suite SUBDIR += pipebench SUBDIR += plow SUBDIR += polygraph SUBDIR += postal SUBDIR += postmark + SUBDIR += py-asv SUBDIR += py-asv-runner SUBDIR += py-locust SUBDIR += py-naarad SUBDIR += py-throughpy SUBDIR += py-zopkio SUBDIR += raidtest SUBDIR += ramspeed SUBDIR += randomio SUBDIR += rubygem-benchmark SUBDIR += rubygem-benchmark-ips SUBDIR += rubygem-benchmark-memory SUBDIR += rubygem-derailed_benchmarks SUBDIR += rubygem-gitlab-derailed_benchmarks SUBDIR += rubygem-railsbench SUBDIR += scimark2 SUBDIR += scimark2c SUBDIR += scimark4c SUBDIR += shellbench SUBDIR += siege SUBDIR += sipp SUBDIR += slowloris SUBDIR += smhasher SUBDIR += spp SUBDIR += stream SUBDIR += stress-ng SUBDIR += sysbench SUBDIR += tcpblast SUBDIR += thrulay SUBDIR += tsung SUBDIR += ttcp SUBDIR += typometer SUBDIR += ubench SUBDIR += uica SUBDIR += unixbench SUBDIR += uperf SUBDIR += vegeta SUBDIR += vkmark SUBDIR += vkoverhead SUBDIR += vkpeak SUBDIR += webbench SUBDIR += wrk .include diff --git a/benchmarks/py-asv/Makefile b/benchmarks/py-asv/Makefile new file mode 100644 index 000000000000..a39f492933fd --- /dev/null +++ b/benchmarks/py-asv/Makefile @@ -0,0 +1,41 @@ +PORTNAME= asv +DISTVERSION= 0.6.1 +CATEGORIES= benchmarks python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= vishwin@FreeBSD.org +COMMENT= Airspeed Velocity: A simple Python history benchmarking tool +WWW= https://asv.readthedocs.io/ + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.rst + +BUILD_DEPENDS:= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=6.2:devel/py-setuptools_scm@${PY_FLAVOR} \ + ${RUN_DEPENDS} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asv-runner>=0.1.0:benchmarks/py-asv-runner@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}json5>0:devel/py-json5@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tabulate>0:devel/py-tabulate@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}Pympler>0:devel/py-pympler@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-xdist>0:devel/py-pytest-xdist@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-timeout>0:devel/py-pytest-timeout@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-rerunfailures>=10.0:devel/py-pytest-rerunfailures@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}filelock>0:sysutils/py-filelock@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}virtualenv>0:devel/py-virtualenv@${PY_FLAVOR} \ + ${PY_NUMPY} \ + ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}feedparser>0:textproc/py-feedparser@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}selenium>0:www/py-selenium@${PY_FLAVOR} \ + git:devel/git \ + ${PYTHON_PKGNAMEPREFIX}hglib>0:devel/py-hglib@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}rpy2>0:math/py-rpy2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 pytest + +.include diff --git a/benchmarks/py-asv/distinfo b/benchmarks/py-asv/distinfo new file mode 100644 index 000000000000..2caedbe8febd --- /dev/null +++ b/benchmarks/py-asv/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1696913123 +SHA256 (asv-0.6.1.tar.gz) = 4eaf7b2ff825d841c819b15de8753d10dc0cc5da4082dc3e0de2707fc71d7ea4 +SIZE (asv-0.6.1.tar.gz) = 376306 diff --git a/benchmarks/py-asv/files/patch-pyproject.toml b/benchmarks/py-asv/files/patch-pyproject.toml new file mode 100644 index 000000000000..a4c29f831859 --- /dev/null +++ b/benchmarks/py-asv/files/patch-pyproject.toml @@ -0,0 +1,11 @@ +--- pyproject.toml.orig 2023-09-11 04:51:42 UTC ++++ pyproject.toml +@@ -89,8 +89,6 @@ license-files = [ + "LICENSE.rst", + ] + +-[tool.setuptools.packages.find] +-namespaces = false + [tool.setuptools.exclude-package-data] + "*" = ["*.sh"] + diff --git a/benchmarks/py-asv/pkg-descr b/benchmarks/py-asv/pkg-descr new file mode 100644 index 000000000000..f29823caeaec --- /dev/null +++ b/benchmarks/py-asv/pkg-descr @@ -0,0 +1,7 @@ +airspeed velocity (asv) is a tool for benchmarking Python packages +over their lifetime. + +It is primarily designed to benchmark a single project over its +lifetime using a given suite of benchmarks. The results are displayed +in an interactive web frontend that requires only a basic static +webserver to host.