From 1c6f56f2fdeab08f178d73de904ed0555f0f4de5 Mon Sep 17 00:00:00 2001 From: Sarah Schneider Date: Wed, 26 May 2021 15:18:45 -0400 Subject: [PATCH 1/3] test datadog on staging --- app.json | 1 + 1 file changed, 1 insertion(+) diff --git a/app.json b/app.json index 14f8ba9f54..337eb269eb 100644 --- a/app.json +++ b/app.json @@ -6,6 +6,7 @@ "WEB_CONCURRENCY": "1" }, "buildpacks": [ + { "url": "https://github.com/DataDog/heroku-buildpack-datadog.git#1.21" }, { "url": "heroku/nodejs" } ], "formation": { From cbf07fec4b268411c12e0178814bca6d09fc0c28 Mon Sep 17 00:00:00 2001 From: Sarah Schneider Date: Wed, 26 May 2021 15:43:19 -0400 Subject: [PATCH 2/3] the other middleware perf PR removes this --- lib/page-data.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/lib/page-data.js b/lib/page-data.js index fcb7a66678..2871f94d49 100644 --- a/lib/page-data.js +++ b/lib/page-data.js @@ -88,18 +88,6 @@ async function versionPages (obj, version, langCode, site) { : obj.page.intro } - // Surface any Liquid within Liquid that may not have been parsed, since we are not doing - // parsing round trips above in order to protect our warm-server performance. - if (obj.renderedFullTitle.includes('}')) { - console.error(`WARNING: found Liquid in parsed title on ${obj.page.fullPath}`) - } - if (obj.renderedShortTitle && obj.renderedShortTitle.includes('}')) { - console.error(`WARNING: found Liquid in parsed short title on ${obj.page.fullPath}`) - } - if (obj.renderedIntro && obj.renderedIntro.includes('}')) { - console.error(`WARNING: found Liquid in parsed intro on ${obj.page.fullPath}`) - } - if (!obj.childPages) return obj const versionedChildPages = await Promise.all(obj.childPages From 94b5a3841fe1f3f3b8a67bb0e2fa8016d80615ac Mon Sep 17 00:00:00 2001 From: Sarah Schneider Date: Wed, 26 May 2021 15:43:45 -0400 Subject: [PATCH 3/3] bump dyno size for performance testing --- app.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.json b/app.json index 337eb269eb..881f9bf229 100644 --- a/app.json +++ b/app.json @@ -12,7 +12,7 @@ "formation": { "web": { "quantity": 1, - "size": "standard-2x" + "size": "performance-l" } } }