Skip to content

Commit cd8e049

Browse files
authored
Merge pull request #3078 from catchpoint/location_update
Added flags mapping for new locations
2 parents 63c6e7c + c878b92 commit cd8e049

File tree

2 files changed

+44
-4
lines changed

2 files changed

+44
-4
lines changed

www/header.inc

Lines changed: 43 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@ if (!EMBED) {
143143
echo "<h1>Webpage Performance Test Result</h1>";
144144
}
145145

146-
147146
$flags = array(
148147
'ec2-us-east-1' => 'US',
149148
'gce-us-west3' => 'US',
@@ -176,9 +175,50 @@ if (!EMBED) {
176175
'ec2-ap-southeast-2' => 'AU',
177176
'LosAngeles_M1MacMini' => 'US',
178177
'NewYork_M1MacMini' => 'US',
179-
'LosAngeles_M1MacMini' => 'US',
180178
'NYC_Android' => 'US',
181-
'Dulles_Android' => 'US'
179+
'Dulles_Android' => 'US',
180+
'SIN_SG_01' => 'SG',
181+
'MXP_IT_01' => 'IT',
182+
'HKG_CN_01' => 'HK',
183+
'QVZ_FI_01' => 'SE',
184+
'IAD_US_01' => 'US',
185+
'LAX_US_01' => 'US',
186+
'YYZ_CA_01' => 'CA',
187+
'GRU_BR_01' => 'BR',
188+
'LHR_GB_01' => 'UK',
189+
'FRA_DE_02' => 'DE',
190+
'NRT_JP_01' => 'JP',
191+
'SYD_AU_01' => 'AU',
192+
'FRA_DE_01' => 'DE',
193+
'DXB_AE_01' => 'AE',
194+
'BOM_IN_01' => 'IN',
195+
'CGK_ID_01' => 'MC',
196+
'PVG_CN_04' => 'CN',
197+
'BJS_CN_04' => 'CN',
198+
'TPE_TW_01' => 'TW',
199+
'CPT_ZA_01' => 'ZA',
200+
'BAH_BH_01' => 'BS',
201+
'SLC_US_02' => 'US',
202+
'DUB_IE_01' => 'IE',
203+
'CDG_FR_01' => 'FR',
204+
'AMS_NL_02' => 'NL',
205+
'ITM_JP_01' => 'JP',
206+
'MEL_AU_03' => 'AU',
207+
'LAX_US_05' => 'US',
208+
'NYC_US_05' => 'US',
209+
'CBF_US_P02' => 'US',
210+
'ATL_US_P01' => 'US',
211+
'BOS_US_P01' => 'US',
212+
'CHI_US_P01' => 'US',
213+
'DFW_US_P01' => 'US',
214+
'MIA_US_P01' => 'US',
215+
'NYC_US_P01' => 'US',
216+
'LAX_US_P01' => 'US',
217+
'SEA_US_P01' => 'US',
218+
'PDX_US_P01' => 'US',
219+
'HET_CN_01' => 'CN',
220+
'ICN_KR_01' => 'KR',
221+
'BKK_TH_01' => 'TH'
182222
);
183223

184224
$locationSimple = explode("-", $test['testinfo']['locationLabel'])[0];

www/video/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148

149149

150150
</div>
151-
<p class="footnote">For each URL, 3 first-view tests will be run from '<?php echo $loc['label']; ?>' and the median run will be used for comparison.
151+
<p class="footnote">For each URL, 3 first-view tests will be run from selected location and the median run will be used for comparison.
152152
If you would like to test with different settings, submit your tests individually from the
153153
<a href="/">main test page</a>.</p>
154154
</div>

0 commit comments

Comments
 (0)