romainfrancois commented on pull request #11369:
URL: https://github.com/apache/arrow/pull/11369#issuecomment-952141452
Should be slightly better now:
``` r
library(arrow, warn.conflicts = FALSE)
#> See arrow_info() for available features
library(tidyverse)
library(bench)
options(width = 120)
bench::workout({
df <- data.frame(col_letters = sample(LETTERS, 22180168, replace = TRUE))
write_parquet(df, "df.parquet")
df_rt <- read_parquet("df.parquet")
write_parquet(df_rt, "df_again.parquet")
})
#> # A tibble: 4 × 3
#> exprs
process real
#> <bch:expr>
<bch:tm> <bch:tm>
#> 1 df <- data.frame(col_letters = sample(LETTERS, 22180168, replace =
TRUE)) 926.41ms 929.8ms
#> 2 write_parquet(df, "df.parquet")
1.18s 1.19s
#> 3 df_rt <- read_parquet("df.parquet")
674.91ms 672.43ms
#> 4 write_parquet(df_rt, "df_again.parquet")
621.21ms 630.9ms
```
<sup>Created on 2021-10-26 by the [reprex
package](https://reprex.tidyverse.org) (v2.0.1.9000)</sup>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]