Skip to content

Commit

Permalink
(benchmarks/R-profvis) Updated 0.3.7 to 0.4.0
Browse files Browse the repository at this point in the history
# profvis 0.4.0

* profvis now requires R 4.0.0. The bundled version of jQuery has been upgraded
  to 3.7.1 (@hedsnz, #139) and the bundled `highlight.js` has been updated to
  the 11.10.0 (#140). It no longer longer requires purrr or stringr, and no
  longer suggests ggplot2, devtools, knitr, or rmarkdown.

* `provis()` uses a new technique for trimming uninteresting frames from the
  stack (#130). This requires a new evaluation model where the code you supply
  to `profvis()` is turned into the body of a zero-argument anonymous function
  that is then called by profvis. This subtly changes the semantics of
  evaluation, but the primary effect is that if you create variables inside of
  the profiled code they will no longer be available outside of it.

* `profvis()` now uses elapsed time where possible (#72).

* `profvis()` now uses doubles instead of integers (#114).

* The CSS for profvis code is scoped so that it does not affect other blocks of
  code, such as those from RMarkdown or Quarto (@wch, #140).

profvis 0.3.8
=============================

* `print()` gains an `aggregate` argument. Use `print(profvis(f()),
  aggregate = TRUE)` to aggregate frames by name in the
  flamegraph. This makes it easier to see the big picture (#115). Set
  the `profvis.aggregate` global option to `TRUE` to change the
  default.

* For C function declarations that take no parameters, added `void` parameter.
  • Loading branch information
mef committed Jan 4, 2025
1 parent bddb538 commit bb4edd2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
14 changes: 12 additions & 2 deletions benchmarks/R-profvis/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.1 2022/12/18 09:25:00 mef Exp $
# $NetBSD: Makefile,v 1.2 2025/01/04 14:58:21 mef Exp $

R_PKGNAME= profvis
R_PKGVER= 0.3.7
R_PKGVER= 0.4.0
CATEGORIES= benchmarks

MAINTAINER= [email protected]
Expand All @@ -11,6 +11,16 @@ LICENSE= gnu-gpl-v3 # See more for LICENSE file
DEPENDS+= R-stringr>=1.4.0:../../textproc/R-stringr
DEPENDS+= R-htmlwidgets>=0.3.2:../../www/R-htmlwidgets

TEST_DEPENDS+= R-shiny-[0-9]*:../../www/R-shiny
TEST_DEPENDS+= R-testthat-[0-9]*:../../devel/R-testthat

# !pdfTeX error: pdflatex (file tctt0900): Font tctt0900 at 600 not found
TEST_DEPENDS+= tex-ec-[0-9]*:../../fonts/tex-ec
TEST_DEPENDS+= tex-inconsolata-[0-9]*:../../fonts/tex-inconsolata
TEST_DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin
TEST_DEPENDS+= tex-url-[0-9]*:../../print/tex-url
TEST_DEPENDS+= tex-xkeyval-[0-9]*:../../print/tex-xkeyval

USE_LANGUAGES= c

.include "../../math/R/Makefile.extension"
Expand Down
8 changes: 4 additions & 4 deletions benchmarks/R-profvis/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.1 2022/12/18 09:25:00 mef Exp $
$NetBSD: distinfo,v 1.2 2025/01/04 14:58:21 mef Exp $

BLAKE2s (R/profvis_0.3.7.tar.gz) = ccb0c8218ce3659e3af0079a7f5812ef512cbcd35b4bfae0995b0fcee7483f0e
SHA512 (R/profvis_0.3.7.tar.gz) = 9ae232def68e2d8a9ddd2e5fc20cee3ea05941a68bff6441ebe15e2f8eb14293d128056f01d46c662c680a86129822ab417356a5a73336bb08e4e6fad82f8483
Size (R/profvis_0.3.7.tar.gz) = 142546 bytes
BLAKE2s (R/profvis_0.4.0.tar.gz) = f287ed5a3470ab1c587ce1ed01d9dad17627546fdae5572d32ed3752757acf71
SHA512 (R/profvis_0.4.0.tar.gz) = 3bbe3596f2e826fd6d04bee84f5643fe5d11d6ecab37310490465fadcfbf9699308cd113ac08bef993120e0d7bbd50e95d4caf2853837d58860b7f1e27c97e2c
Size (R/profvis_0.4.0.tar.gz) = 301123 bytes

0 comments on commit bb4edd2

Please sign in to comment.