You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: vignettes/benchmarks.Rmd
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -217,6 +217,7 @@ The following operations are performed.
217
217
#| message: false
218
218
#| fig-height: 8
219
219
#| fig-width: 10
220
+
#| fig-alt: "Horizontal bar chart comparing time and memory usage across different R packages (vroom, data.table, readr) for analyzing taxi trip data. The chart shows operation breakdowns including read, print, head, tail, sample, filter, and aggregate operations. Consult the associated table for detailed timing and memory usage statistics."
#| fig-alt: "Horizontal bar chart comparing time and memory usage for reading and analyzing long all-numeric data across different R packages. Shows performance breakdown by operation type, with data.table performing slightly faster than vroom for this numeric-heavy workload."
#| fig-alt: "Horizontal bar chart comparing time and memory usage for reading and analyzing wide all-numeric data across different R packages. Shows performance breakdown by operation type, with data.table performing slightly faster than vroom for this wide numeric dataset."
plot_benchmark(all_num_wide, "Time to analyze wide all numeric data")
@@ -288,6 +291,7 @@ All character data is a best case scenario for vroom when using Altrep, as it ta
288
291
#| echo: false
289
292
#| fig-height: 8
290
293
#| fig-width: 10
294
+
#| fig-alt: "Horizontal bar chart comparing time and memory usage for reading and analyzing long all-character data across different R packages. Shows vroom with Altrep significantly outperforming other packages due to lazy character vector evaluation."
#| fig-alt: "Horizontal bar chart comparing time and memory usage for reading and analyzing wide all-character data across different R packages. Shows vroom with Altrep significantly outperforming other packages due to lazy character vector evaluation."
plot_benchmark(all_chr_wide, "Time to analyze wide all character data")
@@ -332,6 +337,7 @@ and `r mult$cols[[1]]` columns for a total file size of `r format(fs_bytes(mult$
332
337
#| echo: false
333
338
#| fig-height: 8
334
339
#| fig-width: 10
340
+
#| fig-alt: "Horizontal bar chart comparing time and memory usage for reading and analyzing data from multiple taxi trip files across different R packages. Shows vroom's performance advantage when reading multiple files simultaneously."
335
341
plot_benchmark(mult, "Time to analyze multiple file data")
#| fig-alt: "Horizontal bar chart comparing time and memory usage for reading and analyzing fixed-width format data (US Census data) across different R packages. Shows vroom's performance with fixed-width files."
366
373
plot_benchmark(fwf, "Time to analyze fixed width data")
367
374
368
375
make_table(fwf)
@@ -385,6 +392,7 @@ The benchmarks write out the taxi trip dataset in a few different ways.
385
392
#| echo: false
386
393
#| fig-height: 8
387
394
#| fig-width: 10
395
+
#| fig-alt: "Grouped horizontal bar chart comparing file writing performance across R packages (base, readr, data.table, vroom) with different compression methods (uncompressed, gzip, multithreaded gzip, and Zstandard). Shows vroom's competitive writing performance, especially with compression."
0 commit comments