Benchmarking for loops vs apply and others

This page summarizes the projects mentioned and recommended in the original post on /r/rstats

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • db-benchmark

    reproducible benchmark of database-like ops

  • This is a much more comprehensive set of benchmarks: https://h2oai.github.io/db-benchmark/

  • collapse

    Advanced and Fast Data Transformation in R (by SebKrantz)

  • If you are looking for performance I would recommend to check the collapse package. The following line "collapse" = collapse::fsum(df_datatable$x, g=df_datatable$g) is around 2x faster than base::rowsum, and the dplyr style syntax doesn't add that much of an overhead "collapse dplyr" = df_datatable |> fgroup_by(g) |> fsum(x)

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts