1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/benchmarks
Robert Clausecker fb16871572 benchmarks/libcpucycles: Microlibrary for counting CPU cycles
libcpucycles is a microlibrary for counting CPU cycles.  Cycle counts
are not as detailed as Falk diagrams but are the most precise timers
available to typical software; they are central tools used in
understanding and improving software performance.

The libcpucycles API is simple: include <cpucycles.h>, call cpucycles()
to receive a long long whenever desired, and link with -lcpucycles.

Internally, libcpucycles understands machine-level cycle counters for
amd64 (both PMC and TSC), arm32, arm64 (both PMC and VCT), mips64,
ppc32, ppc64, riscv32, riscv64, s390x, sparc64, and x86. libcpucycles
also understands four OS-level mechanisms, which give varying levels of
accuracy: mach_absolute_time, perf_event, CLOCK_MONOTONIC, and, as a
fallback, microsecond-resolution gettimeofday.

When the program first calls cpucycles(), libcpucycles automatically
benchmarks the available mechanisms and selects the mechanism that does
the best job.  Subsequent cpucycles() calls are thread-safe and very
fast. An accompanying cpucycles-info program prints a summary of
cycle-counter accuracy.

WWW: https://cpucycles.cr.yp.to/

Tested by:	jhibbits
2024-10-30 10:00:37 +01:00
..
ali all: Bump after lang/go121 update 2024-08-09 06:24:08 +00:00
apib Bump revisions of dependent ports after Abseil C++ libraries update 2024-08-08 07:41:06 +00:00
autobench
blogbench
bombardier all: Bump after lang/go121 update 2024-08-09 06:24:08 +00:00
bonnie
bonnie++
clpeak
cpipe
dbench
ddosify all: Bump after lang/go121 update 2024-08-09 06:24:08 +00:00
dhrystone
dkftpbench
fhourstones
filebench
fio benchmarks/fio: Update to 3.38 2024-10-03 07:33:31 +02:00
flamegraph
flops
flowgrind benchmarks/flowgrind: Update WWW 2024-04-04 17:41:38 +02:00
forkbomb
glmark2
gtkperf
hey all: Bump after lang/go121 update 2024-08-09 06:24:08 +00:00
himenobench
hipercontracer */*: bump consumers after devel/boost* update 2024-10-03 13:25:14 +03:00
hpl
httperf
hyperfine lang/rust: Bump revisions after 1.81.0 2024-09-10 13:00:34 +02:00
imb
inferno lang/rust: Bump revisions after 1.81.0 2024-09-10 13:00:34 +02:00
interbench
ior benchmarks/ior: update 3.3.0-20230112 → 4.0.0 2024-04-17 00:57:37 -07:00
iorate
iozone
ipc-bench
iperf benchmarks/iperf: Fix build with IPV6 disabled 2024-05-16 14:22:15 +08:00
iperf3 benchmarks/iperf3: Update to 3.17.1 2024-05-14 19:43:45 +02:00
kdiskmark
libcelero
libcpucycles benchmarks/libcpucycles: Microlibrary for counting CPU cycles 2024-10-30 10:00:37 +01:00
libmicro
linux-gputest
linux-unigine-heaven
linux-unigine-sanctuary
linux-unigine-superposition
linux-unigine-tropics
linux-unigine-valley
linux-vdbench
lmbench
lzbench
mangohud
mdtest benchmarks/mdtest: Fix OPENMPI_DESC 2024-09-05 14:18:33 +08:00
mst-bench
nbench
netio
netperf
netperfmeter
nosqlbench
nqueens
nttcp
nuttcp
octave-forge-benchmark category/port: math/octave-forge-* 2024-06-06 07:33:04 -05:00
p5-Benchmark-Forking
p5-Benchmark-Stopwatch
p5-Dumbbench benchmarks/p5-Dumbbench: Update to 0.505 2024-10-23 05:58:17 +08:00
pathchirp
pathload
pathrate
pear-Benchmark
perftest benchmarks/perftest: upgrade to 4.5-0.17 2024-03-28 23:17:31 +01:00
phoronix-test-suite
pipebench
plow all: Bump after lang/go121 update 2024-08-09 06:24:08 +00:00
polygraph
postal
postmark
py-asv devel/py-pyyaml: Move devel/py-yaml to devel/py-pyyaml 2024-07-07 16:05:33 +08:00
py-asv-runner
py-locust security/libsodium: update to 1.0.19, bump dependent ports 2024-05-20 10:33:03 +00:00
py-naarad
py-throughpy
py-zopkio security/libsodium: update to 1.0.19, bump dependent ports 2024-05-20 10:33:03 +00:00
raidtest
randomio
rubygem-benchmark
rubygem-benchmark-ips benchmarks/rubygem-benchmark-ips: Update to 2.14.0 2024-09-16 04:09:54 +08:00
rubygem-benchmark-memory
rubygem-derailed_benchmarks benchmarks/rubygem-derailed_benchmarks: update to 2.2.1 2024-10-23 07:59:06 +03:00
rubygem-gitlab-derailed_benchmarks benchmarks/rubygem-gitlab-derailed_benchmarks: Change RUN_DEPENDS from rubygem-get_process_mem to rubygem-get_process_mem0 2024-07-24 19:45:41 +08:00
rubygem-railsbench
scimark2
scimark2c
scimark4c
shellbench
siege all: drop support for expired FreeBSD 14.0 2024-10-01 20:56:20 +02:00
sipp
slowloris
smhasher
spp
stream
stress-ng benchmarks/stress-ng: Update to 0.18,04 2024-09-27 14:26:47 +02:00
sysbench
tcpblast
thrulay
tinymembench
tsung
ttcp
typometer
ubench
uica benchmarks/uica: update to g20240114+2022.12 2024-10-28 13:41:49 +01:00
unixbench
uperf
vegeta all: Bump after lang/go121 update 2024-08-09 06:24:08 +00:00
vkmark benchmarks/vkmark: convert to cmake:indirect 2024-04-17 20:30:06 +02:00
vkoverhead
vkpeak benchmarks/vkpeak: update to 20240505 2024-05-05 23:43:37 +02:00
webbench
wrk
Makefile benchmarks/libcpucycles: Microlibrary for counting CPU cycles 2024-10-30 10:00:37 +01:00