Skip to content

Commit

Permalink
Built site for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Quarto GHA Workflow Runner committed Sep 17, 2023
1 parent 6baa870 commit 966104b
Show file tree
Hide file tree
Showing 11 changed files with 566 additions and 1,440 deletions.
2 changes: 1 addition & 1 deletion .nojekyll
Original file line number Diff line number Diff line change
@@ -1 +1 @@
61705b62
247e82c0
22 changes: 11 additions & 11 deletions listings.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,12 @@
[
{
"listing": "/units/d1-01-welcome.html",
"listing": "/units/d1-9001-loadtesting.html",
"items": []
},
{
"listing": "/units/d1-04-deploy-admin.html",
"listing": "/units/d1-03-performance.html",
"items": []
},
{
"listing": "/units/d1-02-structure.html",
"items": [
"/materials/d1-02-structure/ex-1.html",
"/materials/d1-02-structure/codealong-1.html"
]
},
{
"listing": "/schedule.html",
"items": [
Expand All @@ -28,11 +21,18 @@
]
},
{
"listing": "/units/d1-03-performance.html",
"listing": "/units/d1-02-structure.html",
"items": [
"/materials/d1-02-structure/ex-1.html",
"/materials/d1-02-structure/codealong-1.html"
]
},
{
"listing": "/units/d1-04-deploy-admin.html",
"items": []
},
{
"listing": "/units/d1-9001-loadtesting.html",
"listing": "/units/d1-01-welcome.html",
"items": []
}
]
2 changes: 1 addition & 1 deletion materials/d1-01-welcome/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ <h2>Workshop Policies</h2>
<h2>Meet the Team!</h2>
<div class="columns">
<div class="column" style="width:50%;">
<div id="fig-539a35d47e664c97a50115a146a7f1bd-1" class="quarto-figure quarto-figure-center" data-fig-align="center" alt="Eric Nantz" width="70%">
<div id="fig-539a35d47e664c97a50115a146a7f1bd-1" class="quarto-figure quarto-figure-center" data-fig-align="center" width="70%" alt="Eric Nantz">
<figure class="quarto-float quarto-float-fig">
<div>
<img data-src="assets/img/people/enantz.jpg" id="fig-539a35d47e664c97a50115a146a7f1bd-1" class="quarto-figure-center" style="width:70.0%" alt="Eric Nantz">
Expand Down
File renamed without changes
31 changes: 26 additions & 5 deletions materials/d1-03-performance/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -406,9 +406,6 @@ <h1 class="title">Performance</h1>
</div>
</div>

</section>
<section id="more-to-come" class="slide level2">
<h2>More to Come</h2>
</section>
<section id="what-is-profvis" class="slide level2">
<h2>What is {profvis}?</h2>
Expand All @@ -418,6 +415,8 @@ <h2>What is {profvis}?</h2>
<img data-src="assets/img/example_profvis_report.png" id="fig-539a35d47e664c97a50115a146a7f1bd-1" class="r-stretch quarto-figure-center"><aside class="notes">
<ul>
<li>The package is from Posit</li>
<li>Help you understand the bottlenecks in your R code</li>
<li>and, you guessed it, it works with Shiny too</li>
</ul>
<style type="text/css">
span.MJX_Assistive_MathML {
Expand All @@ -434,7 +433,6 @@ <h2>What is {profvis}?</h2>
<section id="working-with-profvis-golem" class="slide level2" data-auto-animate="true">
<h2 data-id="quarto-animate-title">Working with {profvis} &amp; {golem}</h2>
<p>Our <code>dev/run_dev.R</code> script is where we can profile our app interactively.</p>
<p>We can modify the original code…</p>
<div class="sourceCode" id="cb1"><pre class="sourceCode r code-with-copy" data-id="quarto-animate-code"><code class="sourceCode r hljs"><span id="cb1-1" class="hljs-ln-code"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="fu">options</span>(<span class="at">golem.app.prod =</span> <span class="cn">FALSE</span>)</span>
<span id="cb1-2" class="hljs-ln-code"><a href="#cb1-2" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb1-3" class="hljs-ln-code"><a href="#cb1-3" aria-hidden="true" tabindex="-1"></a>golem<span class="sc">::</span><span class="fu">detach_all_attached</span>()</span>
Expand All @@ -445,7 +443,7 @@ <h2 data-id="quarto-animate-title">Working with {profvis} &amp; {golem}</h2>
</section>
<section id="working-with-profvis-golem-1" class="slide level2" data-auto-animate="true">
<h2 data-id="quarto-animate-title">Working with {profvis} &amp; {golem}</h2>
<p>and wrap <code>run_app()</code> in <code>print()</code>, then <code>profvis()</code></p>
<p>Our <code>dev/run_dev.R</code> script is where we can profile our app interactively.</p>
<div class="sourceCode" id="cb2"><pre class="sourceCode r code-with-copy" data-id="quarto-animate-code"><code class="sourceCode r hljs"><span id="cb2-1" class="hljs-ln-code"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="fu">options</span>(<span class="at">golem.app.prod =</span> <span class="cn">FALSE</span>)</span>
<span id="cb2-2" class="hljs-ln-code"><a href="#cb2-2" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb2-3" class="hljs-ln-code"><a href="#cb2-3" aria-hidden="true" tabindex="-1"></a>golem<span class="sc">::</span><span class="fu">detach_all_attached</span>()</span>
Expand All @@ -457,6 +455,29 @@ <h2 data-id="quarto-animate-title">Working with {profvis} &amp; {golem}</h2>
<span id="cb2-9" class="hljs-ln-code"><a href="#cb2-9" aria-hidden="true" tabindex="-1"></a>})</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<aside class="notes">
<p>You need to wrap the <code>run_app()</code> function in <code>print()</code>, before passing it to <code>profvis::profvis()</code></p>
<style type="text/css">
span.MJX_Assistive_MathML {
position:absolute!important;
clip: rect(1px, 1px, 1px, 1px);
padding: 1px 0 0 0!important;
border: 0!important;
height: 1px!important;
width: 1px!important;
overflow: hidden!important;
display:block!important;
}</style></aside>
</section>
<section id="demo" class="slide level2">
<h2>Demo!</h2>

<img data-src="assets/img/myspace_meme.png" id="fig-539a35d47e664c97a50115a146a7f1bd-2" class="r-stretch quarto-figure-center"><aside class="notes">
<ul>
<li>Show how to change the <code>dev/run_dev.R</code> script to enable {profvis} profiling</li>
<li>Launch the app, navigate to the “Overview” page, and change a filter</li>
<li>Stop the app, and wait for the report to load</li>
<li>Describe the flamegraph, change the filters to only show events that took time</li>
<li>Navigate to the ‘data’ tab and discuss what took the most time</li>
</ul>
<style type="text/css">
span.MJX_Assistive_MathML {
position:absolute!important;
Expand Down
Loading

0 comments on commit 966104b

Please sign in to comment.