From nobody Thu Sep 23 23:31:42 2021 X-Original-To: ports-bugs@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 463FC175DF2D for ; Thu, 23 Sep 2021 23:31:42 +0000 (UTC) (envelope-from bugzilla-noreply@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 4HFrz21QyPz4phm for ; Thu, 23 Sep 2021 23:31:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 116E63F6E for ; Thu, 23 Sep 2021 23:31:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 18NNVgBR056300 for ; Thu, 23 Sep 2021 23:31:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 18NNVgi4056299 for ports-bugs@FreeBSD.org; Thu, 23 Sep 2021 23:31:42 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 258699] [new port] devel/go-perf: Go performance measurement, storage, and analysis tools Date: Thu, 23 Sep 2021 23:31:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: feature, patch-ready X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: fuz@fuz.su X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform bug_file_loc op_sys bug_status keywords bug_severity priority component assigned_to reporter cc attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258699 Bug ID: 258699 Summary: [new port] devel/go-perf: Go performance measurement, storage, and analysis tools Product: Ports & Packages Version: Latest Hardware: Any URL: http://golang.org/x/perf OS: Any Status: New Keywords: feature, patch-ready Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: fuz@fuz.su CC: dmgk@freebsd.org Created attachment 228142 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D228142&action= =3Dedit devel/go-perf: Go performance measurement, storage, and analysis tools This adds devel/go-perf as a new port. A somewhat straightforward Go port.= I would have prefered to use GO_MODULE, but Uses=3Dgo requires DISTVERSION to= be set to the verbatim module version in this case (it is not possible to set GO_MODVERSION manually as go.mk has =3D instead of ?=3D to assign to it) an= d as upstream has never tagged a release, the module version is 0.0.0-20210220033136-40a54f11e909 which pkg fails to generate a sensible PORTVERSION from. dmgk is CC'ed to have a look at this. Perhaps go.mk could have some better code allowing the user to set GO_MODVERSION with go.mk deriving PORTVERSION= in a sensible and standard manner from it. I volunteer to design a patch for = that if desired. To sidestep this issue, I've manually derived a suitable PORTVERSION and download the source from github (which holds a mirror of the official repository over on Google's site). Tested with Poudriere on armv7 arm64 i386 amd64 FreeBSD 13.0-RELEASE. Unit tests pass with flying colours. *** Utilities to analyse and publish Go benchmark results. The main use case is to compare two series of benchmarks for minuscule performance improvements. Four programs are included: - benchstat is a command-line tool that computes and compares statistics about benchmarks - benchsave is a command-line tool for publishing benchmark results - localperfdata is a local version of the https://perfdata.golang.org/ benchmark result storage system - localperf is a local version of the https://perf.golang.org/ benchmark result analysis system. WWW: https://golang.org/x/perf --=20 You are receiving this mail because: You are the assignee for the bug.=