From nobody Sat Aug 27 10:30:46 2022 X-Original-To: dev-commits-ports-main@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 4MFCdy3NP2z4b4v7; Sat, 27 Aug 2022 10:30:46 +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 4MFCdy2QJQz3x64; Sat, 27 Aug 2022 10:30:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661596246; 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=InR74boD5bD6+b5LlF2inzY5oZHi2bGjkhbfEb+HYpE=; b=S5xWWdxP/I/auouiquml6DMvVDnwg2OQCfZ//OMOw65Su040oMuUnBTdLMsieAnCHup8uY Yjk96B6/sHTWnrADnNsl+bSqg+KdmpF99UmPsJ/gyuHHo6vE1QXFaXoKexrC6/m4M/aCjG PvvrWfPvBUArKjh993e2WebtLBjTmHltCVS9huz6WVJ145aW1z05I9G/ZB3U9j/loaQzSL pSIbGyHYls3jwU86avT/3+ELCSaQ9Jxzr1anIPHZv5PNnKQ5ASXqwa1UwtF2x4p8qGwBQR inVwxWYdPq7YqqosMqHBaZKFTK+SPtdjOulrxkYWJzEKzG5Z6JJXAmocJgZuMA== 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 4MFCdy17T4zjt5; Sat, 27 Aug 2022 10:30:46 +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 27RAUkIS047190; Sat, 27 Aug 2022 10:30:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27RAUk2J047189; Sat, 27 Aug 2022 10:30:46 GMT (envelope-from git) Date: Sat, 27 Aug 2022 10:30:46 GMT Message-Id: <202208271030.27RAUk2J047189@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 39eb9db143e8 - main - graphics/py-gprof2dot: Add py-gprof2dot 2022.7.29 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 39eb9db143e8415db6bbeb403ebc71b6a779362a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661596246; 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=InR74boD5bD6+b5LlF2inzY5oZHi2bGjkhbfEb+HYpE=; b=cPr5SypEx+EWwQvZifIFLeJeGUfqGET2eWrNznF3QyrZMPBz2mb7onLHZC6t9PYSKMO4ex 4fZkKL5iC2SOmrb1jqcFz+Fqr99uyCxnNA2KwsZXGD3kf6AWZxhtk+7xLfI46Z65t12llD XCyg3IoJZY4ob0M4vt23NFW11vRH3oSYP+nX+eYV+C8z1xSRyHQy4SXZi89emojhm4PusT drXvqG+gafocdjUdDAp7blULhEynk9MPez4KGFrR0DjDVpMaRSmevP5PSF+PDvH25b2Pds pUY6/7XorZF47P1a5G5b67Uwt7Askgmoq/6rzvuduuD5sOmAVJxjmiwtSC7e6A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661596246; a=rsa-sha256; cv=none; b=MEtU9qGg5xC+grAgTpNdQwIkzsKTVU2gHVfh3I+i89rCzmpq9lDJ39yiLxnTyVyGsLuF0x bokaz00Rin3IAwtuB/XeWK7trBqR8zffGauUiZwWPNd9HVl0JBZZ93c8Ipm1Fq1mfjsk3n H1JO0s9YpChOU99HhQHKaxouqhVrO/BvqLMRRJZ0KlsYlZOm8WJ2R4+k05+a5ResHjTLOE 7cobcD32SbxrONJvE/6D6eAHZSfdwFRq1s7HTxCUi18T9qNMw1Dxamkjn5Ha0lx0+L9lIL JFqUvhpLzyyASIGbED/bzFX4sc2rQkWGbLDvpLW76tKQ2sTJAAutQq+S/qI4tg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=39eb9db143e8415db6bbeb403ebc71b6a779362a commit 39eb9db143e8415db6bbeb403ebc71b6a779362a Author: Po-Chuan Hsieh AuthorDate: 2022-08-27 10:10:29 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-08-27 10:10:29 +0000 graphics/py-gprof2dot: Add py-gprof2dot 2022.7.29 gprof2dot is a Python script to convert the output from many profilers into a dot graph. It can: - read output from: - Linux perf - Valgrind's callgrind tool - oprofile - sysprof - xperf - VTune Amplifier XE - Very Sleepy - python profilers - Java's HPROF - prof, gprof - DTrace - prune nodes and edges below a certain threshold; - use an heuristic to propagate time inside mutually recursive functions; - use color efficiently to draw attention to hot-spots; - work on any platform where Python and Graphviz is available, i.e, virtually anywhere. WWW: https://github.com/jrfonseca/gprof2dot --- graphics/Makefile | 1 + graphics/py-gprof2dot/Makefile | 18 ++++++++++++++++++ graphics/py-gprof2dot/distinfo | 3 +++ graphics/py-gprof2dot/pkg-descr | 23 +++++++++++++++++++++++ 4 files changed, 45 insertions(+) diff --git a/graphics/Makefile b/graphics/Makefile index 5fc713d14b0d..f0f352ce062e 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -859,6 +859,7 @@ SUBDIR += py-glfw SUBDIR += py-glooey SUBDIR += py-gphoto2 + SUBDIR += py-gprof2dot SUBDIR += py-graphlib-backport SUBDIR += py-graphviz SUBDIR += py-graphy diff --git a/graphics/py-gprof2dot/Makefile b/graphics/py-gprof2dot/Makefile new file mode 100644 index 000000000000..f047a41388d4 --- /dev/null +++ b/graphics/py-gprof2dot/Makefile @@ -0,0 +1,18 @@ +PORTNAME= gprof2dot +PORTVERSION= 2022.7.29 +CATEGORIES= graphics python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Generate a dot graph from the output of several profilers + +LICENSE= LGPL3+ +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +USES= python:3.7+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include diff --git a/graphics/py-gprof2dot/distinfo b/graphics/py-gprof2dot/distinfo new file mode 100644 index 000000000000..4432e2958397 --- /dev/null +++ b/graphics/py-gprof2dot/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1660576690 +SHA256 (gprof2dot-2022.7.29.tar.gz) = 45b4d298bd36608fccf9511c3fd88a773f7a1abc04d6cd39445b11ba43133ec5 +SIZE (gprof2dot-2022.7.29.tar.gz) = 33948 diff --git a/graphics/py-gprof2dot/pkg-descr b/graphics/py-gprof2dot/pkg-descr new file mode 100644 index 000000000000..a074f2120756 --- /dev/null +++ b/graphics/py-gprof2dot/pkg-descr @@ -0,0 +1,23 @@ +gprof2dot is a Python script to convert the output from many profilers into a +dot graph. + +It can: +- read output from: + - Linux perf + - Valgrind's callgrind tool + - oprofile + - sysprof + - xperf + - VTune Amplifier XE + - Very Sleepy + - python profilers + - Java's HPROF + - prof, gprof + - DTrace +- prune nodes and edges below a certain threshold; +- use an heuristic to propagate time inside mutually recursive functions; +- use color efficiently to draw attention to hot-spots; +- work on any platform where Python and Graphviz is available, i.e, virtually + anywhere. + +WWW: https://github.com/jrfonseca/gprof2dot