diff --git a/.nojekyll b/.nojekyll index e87cb9a..e9e2250 100644 --- a/.nojekyll +++ b/.nojekyll @@ -1 +1 @@ -247e82c0 \ No newline at end of file +249abd75 \ No newline at end of file diff --git a/materials/d1-01-welcome/index.html b/materials/d1-01-welcome/index.html index 4f61c4a..4d5f37c 100644 --- a/materials/d1-01-welcome/index.html +++ b/materials/d1-01-welcome/index.html @@ -368,7 +368,7 @@

Workshop Policies

Meet the Team!

-
+
Eric Nantz diff --git a/materials/d1-03-performance/index.html b/materials/d1-03-performance/index.html index a2e2e4a..e9cba74 100644 --- a/materials/d1-03-performance/index.html +++ b/materials/d1-03-performance/index.html @@ -10,7 +10,6 @@ - Shiny in Production - Performance @@ -399,13 +398,21 @@

Performance

posit::conf(2023)
Shiny in Production: Tools & Techniques

-
-
-TBD -
-
+ +
+

Performance Agenda

+
    +
  • Profiling your Shiny app with {profvis}
  • +
  • Lightning-quick data loading/querying with {arrow} & .parquet files
  • +
  • Asynchronous processes with {crew}
  • +
+
+
+
+

{profvis}: an R package for profiling R code
(including Shiny apps)

+

What is {profvis}?

@@ -478,6 +485,66 @@

Demo!

  • Describe the flamegraph, change the filters to only show events that took time
  • Navigate to the ‘data’ tab and discuss what took the most time
  • + +
    +
    +
    +

    {arrow} & the .parquet file format

    + +
    +
    +

    What are .parquet files?

    +
      +
    • .parquet is a columnar storage format
    • +
    • .parquet files not only store data, but they also store metadata about your data (i.e., data types for each column, number of rows in the file, etc.)
    • +
    • Smaller files
    • +
    • Faster read speed
    • +
    + +
    +
    +

    What is the {arrow} R package?

    +
      +
    • Part of the larger Apache Arrow project
    • +
    • Connect to your data with {arrow}…
    • +
    • … and query it with {dplyr}
    • +
    +
    +

    Apache Arrow Homepage

    +

    Shiny + Arrow Article

    +