From 6beb8a5eeaf83f243bac2e74f2daa0060267db05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Daniel=20Colmenares=20Oviedo?= Date: Thu, 12 Jun 2025 18:47:45 -0400 Subject: [PATCH] benchmarks/py-locust-cloud: New port: Hosted version of Locust that allows you to run distributed load tests Locust Cloud is a hosted version of Locust that allows you to run distributed load tests without having to set up and maintain your own infrastructure. It also allows more detailed reporting and analysis, as well as storing historical test results and tracking them over time. PR: 287026 Approved by: acm (mentor) --- benchmarks/Makefile | 1 + benchmarks/py-locust-cloud/Makefile | 28 ++++++++++++++++++++++++++++ benchmarks/py-locust-cloud/distinfo | 3 +++ benchmarks/py-locust-cloud/pkg-descr | 6 ++++++ 4 files changed, 38 insertions(+) create mode 100644 benchmarks/py-locust-cloud/Makefile create mode 100644 benchmarks/py-locust-cloud/distinfo create mode 100644 benchmarks/py-locust-cloud/pkg-descr diff --git a/benchmarks/Makefile b/benchmarks/Makefile index 78b25950bdc5..14c07e206c11 100644 --- a/benchmarks/Makefile +++ b/benchmarks/Makefile @@ -79,6 +79,7 @@ SUBDIR += py-asv SUBDIR += py-asv-runner SUBDIR += py-locust + SUBDIR += py-locust-cloud SUBDIR += py-naarad SUBDIR += py-throughpy SUBDIR += py-zopkio diff --git a/benchmarks/py-locust-cloud/Makefile b/benchmarks/py-locust-cloud/Makefile new file mode 100644 index 000000000000..1acfaa2a5641 --- /dev/null +++ b/benchmarks/py-locust-cloud/Makefile @@ -0,0 +1,28 @@ +PORTNAME= locust-cloud +DISTVERSION= 1.23.0 +CATEGORIES= benchmarks www python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= locust_cloud-${PORTVERSION} + +MAINTAINER= dtxdf@FreeBSD.org +COMMENT= Hosted version of Locust that allows you to run distributed load tests +WWW= https://locust.cloud/ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0:devel/py-hatch-vcs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}configargparse>=0:devel/py-configargparse@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}gevent>=0:devel/py-gevent@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}platformdirs>=0:devel/py-platformdirs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}python-socketio>=0:devel/py-python-socketio@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tomli>=0:textproc/py-tomli@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist pep517 + +NO_ARCH= yes + +.include diff --git a/benchmarks/py-locust-cloud/distinfo b/benchmarks/py-locust-cloud/distinfo new file mode 100644 index 000000000000..8b9e5d57851b --- /dev/null +++ b/benchmarks/py-locust-cloud/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1749763901 +SHA256 (locust_cloud-1.23.0.tar.gz) = 4038a09eda858b483ced20f5cb82caf3f866244c2c7864e0da5c32722b97f532 +SIZE (locust_cloud-1.23.0.tar.gz) = 450778 diff --git a/benchmarks/py-locust-cloud/pkg-descr b/benchmarks/py-locust-cloud/pkg-descr new file mode 100644 index 000000000000..ce27fab9cbc4 --- /dev/null +++ b/benchmarks/py-locust-cloud/pkg-descr @@ -0,0 +1,6 @@ +Locust Cloud is a hosted version of Locust that allows you to run +distributed load tests without having to set up and maintain your +own infrastructure. + +It also allows more detailed reporting and analysis, as well as +storing historical test results and tracking them over time.