diff --git a/benchmarks/Makefile b/benchmarks/Makefile index 71f2f9bbe3d4..d45d58ee2676 100644 --- a/benchmarks/Makefile +++ b/benchmarks/Makefile @@ -1,108 +1,109 @@ COMMENT = Benchmarking tools SUBDIR += ali SUBDIR += apib SUBDIR += autobench SUBDIR += blogbench SUBDIR += bombardier SUBDIR += bonnie SUBDIR += bonnie++ SUBDIR += clpeak SUBDIR += cpipe SUBDIR += dbench SUBDIR += dbs 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 += iorate SUBDIR += iozone SUBDIR += iozone21 SUBDIR += iperf SUBDIR += iperf3 SUBDIR += kdiskmark SUBDIR += libcelero SUBDIR += libmicro SUBDIR += linux-gputest 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 += polygraph SUBDIR += postal SUBDIR += postmark 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 += siege SUBDIR += sipp SUBDIR += slowloris SUBDIR += smhasher SUBDIR += spp SUBDIR += stream SUBDIR += stress-ng SUBDIR += super-smack SUBDIR += sysbench SUBDIR += tcpblast SUBDIR += thrulay SUBDIR += tsung SUBDIR += ttcp SUBDIR += typometer SUBDIR += ubench SUBDIR += unixbench SUBDIR += uperf SUBDIR += vegeta SUBDIR += vkmark + SUBDIR += vkpeak SUBDIR += webbench SUBDIR += wrk .include diff --git a/benchmarks/vkpeak/Makefile b/benchmarks/vkpeak/Makefile new file mode 100644 index 000000000000..29073192b93c --- /dev/null +++ b/benchmarks/vkpeak/Makefile @@ -0,0 +1,25 @@ +PORTNAME= vkpeak +DISTVERSION= 20210430 +CATEGORIES= benchmarks + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= Profile Vulkan devices to find their peak capacities + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers +LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader + +USES= cmake compiler:c++11-lib +USE_GITHUB= yes +GH_ACCOUNT= nihui +GH_TUPLE= KhronosGroup:glslang:11.1.0-44-g4afd6917:nglslang/ncnn/glslang \ + Tencent:ncnn:20210322-66-g45bf3cd7:ncnn/ncnn +PLIST_FILES= bin/${PORTNAME} + +do-install: + ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${PORTNAME} \ + ${STAGEDIR}${PREFIX}/bin + +.include diff --git a/benchmarks/vkpeak/distinfo b/benchmarks/vkpeak/distinfo new file mode 100644 index 000000000000..3eccbbf3fd50 --- /dev/null +++ b/benchmarks/vkpeak/distinfo @@ -0,0 +1,7 @@ +TIMESTAMP = 1619686586 +SHA256 (nihui-vkpeak-20210430_GH0.tar.gz) = e9f8ff4ca5f4552a1648832738248bad4ec7d1efdb2c6f739f031165d1e63490 +SIZE (nihui-vkpeak-20210430_GH0.tar.gz) = 7374 +SHA256 (KhronosGroup-glslang-11.1.0-44-g4afd6917_GH0.tar.gz) = 5ec414384bafcac14d096ca20205f811b61caf287ea1f7c30745735e7f483ae6 +SIZE (KhronosGroup-glslang-11.1.0-44-g4afd6917_GH0.tar.gz) = 3296291 +SHA256 (Tencent-ncnn-20210322-66-g45bf3cd7_GH0.tar.gz) = 4920ff13322ed31389791cc0313f8d21d3b6ca1a599fbca2f4c0da41bed204f3 +SIZE (Tencent-ncnn-20210322-66-g45bf3cd7_GH0.tar.gz) = 11417411 diff --git a/benchmarks/vkpeak/pkg-descr b/benchmarks/vkpeak/pkg-descr new file mode 100644 index 000000000000..dbe0d7e154b0 --- /dev/null +++ b/benchmarks/vkpeak/pkg-descr @@ -0,0 +1,6 @@ +vkpeak is a synthetic benchmarking tool to measure peak capabilities +of Vulkan devices. It only measures the peak metrics that can be +achieved using vector operations and does not represent a real-world +use case. + +WWW: https://github.com/nihui/vkpeak