From nobody Wed Feb 8 02:45:54 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PBPWR1YBSz3pH3d; Wed, 8 Feb 2023 02:45:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PBPWR11wgz4FGg; Wed, 8 Feb 2023 02:45:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675824355; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4VqlCYWLpXX4QhpVuyZg19xzqSut7SR2xolXcBtpKUA=; b=h2mTnXQdv39bGmgf/pYCsmlu7wD7zaATD/E6A0hmh22cCTEkbnWcp1fk1dFHpOfv3ZsTvZ 7i9AnKBic3yUjBqVR/TN6grg76i2FXlUhNr3h8I54+PPcouTL7Y3GIhDQT65H3rcFwwY6L hbyFNJhhaW7AVZdFykImm+MkwjDz6njmgrxks6IX1clhMAxoVc0FfObRpDOITMa3Hu5S39 1wxdDiNHeeMD8tEqfofP87GiSlfJG8OSNCwe8HSVG12ptXjDjbx5hEdF+JE7SXUR1nOEmA uMmWYZvkhaD/QKH/PaRHM1gC5jIuO5n3W43I7hCktrmoJwObYnwdAH7q9k6V/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675824355; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4VqlCYWLpXX4QhpVuyZg19xzqSut7SR2xolXcBtpKUA=; b=cS7ZYp8QAirsR31l2dcnEbFtSmwA8FdHyksih229oXrDYk9LkGpM51T+LbosTs11SfEbti w1Z2bWgkU+oYqFDQCv4pi4AN6naIQ61/vHECVnjVuDn5wwW+k+a+8l7pNsJdMbIBI+Rdpx XWYql3Y15D2z0WlsaBOIoHQbTNg/Wfm57skfrzyLWem+K/IitCCWskKrUOjYZiDQDW3sUS urxo71dRell2hrz3bd+7MFbMTfwx4ge4QDzhAVCGouKeWKJQeu9jsTumTwejDBYoHvaCC7 VKQJlOVBX5QgHuIIFVMrVyPCz6O0kTplwn0vVJ0k1ONZ9ieW2YSKRtWEMe/4qA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675824355; a=rsa-sha256; cv=none; b=t12V30UFs086pInLuw3zHMhhIYk14b4vSbrADxNyKeT/Lmhn5owg1zAJDyD+qAxLf5Wnok rJod7lBanwCV0XlPAs2IoF4pUAAAibBOi7YUxFsDRmQJKwdAWHtdFkcb3EH+7UrG2DAYhD kPwcSzfIhepuzAKbJziaLUsUxPxQSANjwNl2hesOLMAFEph5q/bZ4sPN7kwVcW3EqY6bDy cc6HP7eueAEyd9LF3ELlEDXot2ihzTJ8hVYIbih+opNeKmRm5vWm6IEaSM9c1M/dfzmnN9 6m2CsujjJaqO1PlCQPoMP+VMhBT3i+oKrB2hApwy5FYsDorRW+3F3IR2Tvx2UA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PBPWR04Nbzh41; Wed, 8 Feb 2023 02:45:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 3182jsCL095755; Wed, 8 Feb 2023 02:45:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 3182jshr095754; Wed, 8 Feb 2023 02:45:54 GMT (envelope-from git) Date: Wed, 8 Feb 2023 02:45:54 GMT Message-Id: <202302080245.3182jshr095754@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: fba6c610d303 - main - benchmarks/vkoverhead: add new port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fba6c610d303634715eb7fdde52ba6660576bd2d Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=fba6c610d303634715eb7fdde52ba6660576bd2d commit fba6c610d303634715eb7fdde52ba6660576bd2d Author: Jan Beich AuthorDate: 2023-02-01 16:26:31 +0000 Commit: Jan Beich CommitDate: 2023-02-08 02:45:23 +0000 benchmarks/vkoverhead: add new port vkoverhead is a tool for evaluating CPU-based overhead of Vulkan drivers. It was inspired heavily by drawoverhead from piglit. ## Features * extreme granularity for profiling specific scenarios * simple to use * CSV output for ease of script parsing * zero dependencies https://github.com/zmike/vkoverhead --- benchmarks/Makefile | 1 + benchmarks/vkoverhead/Makefile | 31 +++++++++++++++++++++++++++++++ benchmarks/vkoverhead/distinfo | 7 +++++++ benchmarks/vkoverhead/pkg-descr | 8 ++++++++ 4 files changed, 47 insertions(+) diff --git a/benchmarks/Makefile b/benchmarks/Makefile index e66dcc2ca0e6..1ad8596bae0b 100644 --- a/benchmarks/Makefile +++ b/benchmarks/Makefile @@ -113,6 +113,7 @@ SUBDIR += uperf SUBDIR += vegeta SUBDIR += vkmark + SUBDIR += vkoverhead SUBDIR += vkpeak SUBDIR += webbench SUBDIR += wrk diff --git a/benchmarks/vkoverhead/Makefile b/benchmarks/vkoverhead/Makefile new file mode 100644 index 000000000000..bf1e07d87e2c --- /dev/null +++ b/benchmarks/vkoverhead/Makefile @@ -0,0 +1,31 @@ +PORTNAME= vkoverhead +DISTVERSIONPREFIX= v +DISTVERSION= 1.2 +CATEGORIES= benchmarks + +PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ +PATCHFILES+= 1a37beb59ac8.patch:-p1 # https://github.com/zmike/vkoverhead/pull/18 +PATCHFILES+= 62c8ad1a795f.patch:-p1 # https://github.com/zmike/vkoverhead/pull/12 + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= Evaluate CPU overhead of Vulkan drivers +WWW= https://github.com/zmike/vkoverhead + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BROKEN_i386= fails to build due -Werror=int-conversion + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mako>0:textproc/py-mako@${PY_FLAVOR} +RUN_DEPENDS= vulkan-loader>0:graphics/vulkan-loader + +USES= compiler:c11 meson pkgconfig python:build +USE_GITHUB= yes +GH_ACCOUNT= zmike +PLIST_FILES= bin/${PORTNAME} + +post-patch: +# Derive Python version from Meson + @${REINPLACE_CMD} -e "s,'python3',," ${WRKSRC}/meson.build + +.include diff --git a/benchmarks/vkoverhead/distinfo b/benchmarks/vkoverhead/distinfo new file mode 100644 index 000000000000..d4bb7751314c --- /dev/null +++ b/benchmarks/vkoverhead/distinfo @@ -0,0 +1,7 @@ +TIMESTAMP = 1675268791 +SHA256 (zmike-vkoverhead-v1.2_GH0.tar.gz) = 9b105cb218b66f26552a9055a70fe20ff239b891762f650a19d78bfe24ab0d22 +SIZE (zmike-vkoverhead-v1.2_GH0.tar.gz) = 999054 +SHA256 (1a37beb59ac8.patch) = 0f4d99cb62a64e9d6fce26eb49289e343dc7f8f1e9235bcbe546e19e4280742a +SIZE (1a37beb59ac8.patch) = 710 +SHA256 (62c8ad1a795f.patch) = 7ca952381d658bb73eb8ab9fcc0bcff4d58aa37e3f6583a7fd46eec9ca7db8d6 +SIZE (62c8ad1a795f.patch) = 648 diff --git a/benchmarks/vkoverhead/pkg-descr b/benchmarks/vkoverhead/pkg-descr new file mode 100644 index 000000000000..5fc36a01e1dd --- /dev/null +++ b/benchmarks/vkoverhead/pkg-descr @@ -0,0 +1,8 @@ +vkoverhead is a tool for evaluating CPU-based overhead of Vulkan +drivers. It was inspired heavily by drawoverhead from piglit. + +## Features +* extreme granularity for profiling specific scenarios +* simple to use +* CSV output for ease of script parsing +* zero dependencies