|
27 | 27 | </div>
|
28 | 28 | </th></tr></thead>
|
29 | 29 | <tr><td colspan="2" class="intro">
|
30 |
| - <span class="no_color">A proof to confirm minimum tests for maximum entropy in timeZoneName. |
| 30 | + <span class="no_color">A firefox (128+) proof to confirm minimum tests for maximum entropy in timeZoneName. |
31 | 31 | The default test covers base languages, but you can expand locales to expose
|
32 | 32 | <span class="s4">regional differences</span> on all three tests.
|
33 | 33 | The <code>TINY</code> test is a minimalist hardcoded test built for speed.
|
|
232 | 232 | "Africa/Lusaka": tzSG,
|
233 | 233 | "Africa/Nairobi": tzSG,
|
234 | 234 | "Africa/Windhoek": tzSG,
|
235 |
| - "America/Argentina/Cordoba": tzSG, //"America/Rosario": tzSG, // dropped 1930466 |
| 235 | + "America/Argentina/Cordoba": tzSG, |
236 | 236 | "America/Bogota": tzSG,
|
237 | 237 | "America/Caracas": tzSG,
|
238 | 238 | "America/Cayenne": tzSG,
|
|
267 | 267 | "Indian/Cocos": tzS,
|
268 | 268 | "Pacific/Pago_Pago": tzLG,
|
269 | 269 | "Pacific/Saipan": tzSG,
|
270 |
| - "Pacific/Tongatapu": tzSG, |
271 | 270 | }
|
272 | 271 | } else {
|
273 | 272 | tests = {
|
|
282 | 281 | "Europe/Isle_of_Man": tzSG,
|
283 | 282 | "Europe/London": tzSG,
|
284 | 283 | "Indian/Chagos": tzLG,
|
285 |
| - "Indian/Cocos": tzS, |
286 | 284 | "Pacific/Pago_Pago": tzLG,
|
287 | 285 | "Pacific/Saipan": tzSG,
|
288 |
| - "Pacific/Tongatapu": tzSG, |
289 | 286 | }
|
290 | 287 | }
|
291 | 288 | } else if (method == "tiny") {
|
292 | 289 | // wee fast test with bang for buck
|
293 | 290 | /*
|
294 |
| - last tested FF123 |
295 |
| -
|
296 |
| - EXPANDED: max entropy = 311 |
| 291 | + EXPANDED LOCALES |
| 292 | + FF128: max entropy = 311 |
297 | 293 | - Seoul 223 + Douala 234 + London 242 + Hong Kong 248 + Muscat 254 | after that it's small pickups of < 3
|
298 | 294 | - 254 (5 tests) out of 311 max (40 tests) = 82%
|
299 | 295 | - the remaining 35 tests would pickup 57 more buckets
|
300 | 296 | - not worth it overall - and some of this may be equivalency of other tests
|
301 | 297 | - althought we are trying to test as much as possible for regressions and lies and custom formatting etc
|
302 |
| -
|
303 |
| - LIST: max entropy = 213 |
304 |
| - - Seoul 191 + Douala 199 + London 205 + Hong Kong 206 (+ Muscat adds nothing) |
305 |
| - - 206 (5 tests) out of 213 max (14 tests - or 15 if you count we added Muscat) = 97% = pretty good for major locales |
| 298 | + FF135: max entropy = 321 |
| 299 | + - Seoul 223 + Douala 243 + London 250 + Hong Kong 255 + Muscat 261 |
| 300 | + - 261 (5 tests) out of 321 max (40 tests) = 81% |
| 301 | + - the remaining 35 tests would pickup 60 more buckets |
| 302 | +
|
| 303 | + BASE locales |
| 304 | + FF128: max entropy = 213 |
| 305 | + - Seoul 191 + Douala 199 + London 205 + Muscat 206 |
| 306 | + - 206 (5 tests) out of 213 max (13 tests) = 97% = pretty good for base locales |
| 307 | + FF135: max entropy = 221 |
| 308 | + - Seoul 201 + Douala 209 + London 213 + Muscat 214 |
| 309 | + - 214 (5 tests) out of 221 max (13 tests) = 97% |
306 | 310 | */
|
307 | 311 | tests = {
|
308 |
| - "Asia/Seoul": tzLG, |
309 | 312 | "Africa/Douala": tzLG,
|
| 313 | + 'Asia/Hong_Kong': tzSG, // useful in expanded |
| 314 | + "Asia/Seoul": tzLG, |
310 | 315 | "Europe/London": tzSG,
|
311 |
| - "Asia/Hong_Kong": tzSG, |
312 | 316 | "Asia/Muscat": tzSG,
|
313 | 317 | }
|
314 | 318 | } else {
|
|
0 commit comments