Skip to content

Commit

Permalink
re-knit with positron closed
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpcouch committed Jul 3, 2024
1 parent 675c094 commit 0a8d131
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,20 +42,20 @@ outputs a tibble. Supplying a rather boring expression:

``` r
syrup(Sys.sleep(1))
#> # A tibble: 51 × 8
#> # A tibble: 48 × 8
#> id time pid ppid name pct_cpu rss vms
#> <dbl> <dttm> <int> <int> <chr> <dbl> <bch:byt> <bch:>
#> 1 1 2024-07-03 11:37:30 66626 60522 R NA 114MB 392GB
#> 2 1 2024-07-03 11:37:30 65763 65760 ark NA 570MB 395GB
#> 3 1 2024-07-03 11:37:30 60522 60300 rsession-arm64 NA 697MB 394GB
#> 4 1 2024-07-03 11:37:30 58919 1 R NA 1003MB 393GB
#> 5 1 2024-07-03 11:37:30 97009 1 rsession-arm64 NA 128KB 394GB
#> 6 1 2024-07-03 11:37:30 97008 1 rsession-arm64 NA 128KB 394GB
#> 7 1 2024-07-03 11:37:30 97007 1 rsession-arm64 NA 240KB 394GB
#> 8 1 2024-07-03 11:37:30 97006 1 rsession-arm64 NA 240KB 394GB
#> 9 1 2024-07-03 11:37:30 97005 1 rsession-arm64 NA 128KB 394GB
#> 10 1 2024-07-03 11:37:30 91012 1 R NA 128KB 393GB
#> # ℹ 41 more rows
#> 1 1 2024-07-03 11:42:33 67101 60522 R NA 112MB 392GB
#> 2 1 2024-07-03 11:42:33 60522 60300 rsession-arm64 NA 653MB 394GB
#> 3 1 2024-07-03 11:42:33 58919 1 R NA 773MB 393GB
#> 4 1 2024-07-03 11:42:33 97009 1 rsession-arm64 NA 128KB 394GB
#> 5 1 2024-07-03 11:42:33 97008 1 rsession-arm64 NA 128KB 394GB
#> 6 1 2024-07-03 11:42:33 97007 1 rsession-arm64 NA 240KB 394GB
#> 7 1 2024-07-03 11:42:33 97006 1 rsession-arm64 NA 240KB 394GB
#> 8 1 2024-07-03 11:42:33 97005 1 rsession-arm64 NA 128KB 394GB
#> 9 1 2024-07-03 11:42:33 91012 1 R NA 128KB 393GB
#> 10 1 2024-07-03 11:42:33 90999 1 R NA 128KB 393GB
#> # ℹ 38 more rows
```

In this tibble, `id` defines a specific time point at which process
Expand Down Expand Up @@ -143,20 +143,20 @@ res_mem <- syrup({
})

res_mem
#> # A tibble: 187 × 8
#> # A tibble: 158 × 8
#> id time pid ppid name pct_cpu rss vms
#> <dbl> <dttm> <int> <int> <chr> <dbl> <bch:byt> <bch:>
#> 1 1 2024-07-03 11:37:34 66626 60522 R NA 1.23GB 393GB
#> 2 1 2024-07-03 11:37:34 65763 65760 ark NA 569.98MB 395GB
#> 3 1 2024-07-03 11:37:34 60522 60300 rsession-arm64 NA 696.94MB 394GB
#> 4 1 2024-07-03 11:37:34 58919 1 R NA 960.27MB 393GB
#> 5 1 2024-07-03 11:37:34 97009 1 rsession-arm64 NA 128KB 394GB
#> 6 1 2024-07-03 11:37:34 97008 1 rsession-arm64 NA 128KB 394GB
#> 7 1 2024-07-03 11:37:34 97007 1 rsession-arm64 NA 240KB 394GB
#> 8 1 2024-07-03 11:37:34 97006 1 rsession-arm64 NA 240KB 394GB
#> 9 1 2024-07-03 11:37:34 97005 1 rsession-arm64 NA 128KB 394GB
#> 10 1 2024-07-03 11:37:34 91012 1 R NA 128KB 393GB
#> # ℹ 177 more rows
#> 1 1 2024-07-03 11:42:38 67101 60522 R NA 1.05GB 393GB
#> 2 1 2024-07-03 11:42:38 60522 60300 rsession-arm64 NA 653.44MB 394GB
#> 3 1 2024-07-03 11:42:38 58919 1 R NA 838.56MB 393GB
#> 4 1 2024-07-03 11:42:38 97009 1 rsession-arm64 NA 128KB 394GB
#> 5 1 2024-07-03 11:42:38 97008 1 rsession-arm64 NA 128KB 394GB
#> 6 1 2024-07-03 11:42:38 97007 1 rsession-arm64 NA 240KB 394GB
#> 7 1 2024-07-03 11:42:38 97006 1 rsession-arm64 NA 240KB 394GB
#> 8 1 2024-07-03 11:42:38 97005 1 rsession-arm64 NA 128KB 394GB
#> 9 1 2024-07-03 11:42:38 91012 1 R NA 128KB 393GB
#> 10 1 2024-07-03 11:42:38 90999 1 R NA 128KB 393GB
#> # ℹ 148 more rows
```

These results are a bit more interesting than the sequential results
Expand Down
Binary file modified man/figures/README-plot-cpu-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-plot-mem-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0a8d131

Please sign in to comment.