[Midnightbsd-cvs] [MidnightBSD/mports] c58f50: benchmarks: add p5-Benchmark-Forking and p5-Benchm...

Lucas Holt noreply at github.com
Sun Aug 23 01:44:16 EDT 2026


  Branch: refs/heads/benchmarks/p5-benchmark-modules
  Home:   https://github.com/MidnightBSD/mports
  Commit: c58f50c87d9b6155fb0109f85c63eeb3c8d9501c
      https://github.com/MidnightBSD/mports/commit/c58f50c87d9b6155fb0109f85c63eeb3c8d9501c
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-08-23 (Sun, 23 Aug 2026)

  Changed paths:
    M benchmarks/Makefile
    A benchmarks/p5-Benchmark-Forking/Makefile
    A benchmarks/p5-Benchmark-Forking/distinfo
    A benchmarks/p5-Benchmark-Forking/pkg-descr
    A benchmarks/p5-Benchmark-Forking/pkg-plist
    A benchmarks/p5-Benchmark-Stopwatch/Makefile
    A benchmarks/p5-Benchmark-Stopwatch/distinfo
    A benchmarks/p5-Benchmark-Stopwatch/pkg-descr
    A benchmarks/p5-Benchmark-Stopwatch/pkg-plist

  Log Message:
  -----------
  benchmarks: add p5-Benchmark-Forking and p5-Benchmark-Stopwatch

Import two related Perl benchmarking modules from FreeBSD ports and
adapt them for mports:

- Benchmark::Forking runs each timed code block in a forked child so
  side-effects cannot leak between test cases.
- Benchmark::Stopwatch times the progression of a script via lap marks
  and prints a summary with elapsed and percentage-of-total times.

The imported Makefiles used FreeBSD license identifiers (ART10,
GPLv1+), which mports does not recognize; check-license aborted the
build before fetch. Use the mports spelling (artistic, gpl+) instead.
Point MAINTAINER at ports at MidnightBSD.org, drop the PORTREVISION values
carried over from FreeBSD, and register both directories in the
benchmarks category Makefile.

Both ports build, stage, and package cleanly, and their upstream test
suites pass. All dependencies (devel/p5-Clone, devel/p5-Test-LongString)
already exist in the tree.

AI-Assisted-by: Claude Opus 5 (1M context) <noreply at anthropic.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>



To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/mports/settings/notifications


More information about the Midnightbsd-cvs mailing list