Skip to content

Commit d718403

Browse files
committed
more accurate percentile values
1 parent e1f46c1 commit d718403

1 file changed

Lines changed: 34 additions & 37 deletions

File tree

src/vs/workbench/parts/performance/electron-browser/performance.contribution.ts

Lines changed: 34 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -30,42 +30,39 @@ import URI from 'vs/base/common/uri';
3030

3131
class ProfilingHint implements IWorkbenchContribution {
3232

33-
// p80 to p90 by os&release
33+
// p95 to p95 by os&release
3434
static readonly _percentiles: { [key: string]: [number, number] } = {
35-
['Linux_4.10.0-20-generic']: [3474, 6300],
36-
['Linux_4.10.0-21-generic']: [5342, 12022],
37-
['Linux_4.10.13-1-ARCH']: [3047, 4248],
38-
['Linux_4.10.13-200.fc25.x86_64']: [2380, 2895],
39-
['Linux_4.10.14-200.fc25.x86_64']: [5164, 14042],
40-
['Linux_4.4.0-21-generic']: [3777, 8160],
41-
['Linux_4.4.0-72-generic']: [6173, 10730],
42-
['Linux_4.4.0-75-generic']: [4769, 8560],
43-
['Linux_4.4.0-77-generic']: [3834, 7343],
44-
['Linux_4.4.0-78-generic']: [3115, 7078],
45-
['Linux_4.8.0-49-generic']: [7174, 10362],
46-
['Linux_4.8.0-51-generic']: [3906, 7385],
47-
['Linux_4.8.0-52-generic']: [6757, 13741],
48-
['Linux_4.9.0-2-amd64']: [4348, 8754],
49-
['Mac_14.5.0']: [4403, 7216],
50-
['Mac_15.4.0']: [3831, 4946],
51-
['Mac_15.5.0']: [5080, 8296],
52-
['Mac_15.6.0']: [4621, 7160],
53-
['Mac_16.0.0']: [4748, 11248],
54-
['Mac_16.1.0']: [4309, 6106],
55-
['Mac_16.3.0']: [2756, 3674],
56-
['Mac_16.4.0']: [3625, 5463],
57-
['Mac_16.5.0']: [3617, 5288],
58-
['Mac_16.6.0']: [3655, 5279],
59-
['Mac_16.7.0']: [4415, 6624],
60-
['Windows_10.0.10240']: [8284, 14438],
61-
['Windows_10.0.10586']: [5903, 9224],
62-
['Windows_10.0.14393']: [6065, 10567],
63-
['Windows_10.0.15063']: [5521, 8696],
64-
['Windows_10.0.16184']: [5604, 10671],
65-
['Windows_10.0.16188']: [7028, 12852],
66-
['Windows_10.0.16193']: [6431, 9628],
67-
['Windows_6.1.7601']: [7794, 15194],
68-
['Windows_6.3.9600']: [6129, 10188],
35+
['Windows_6.3.9600']: [35782, 35782],
36+
['Windows_6.1.7601']: [11160, 18366],
37+
['Windows_10.0.16199']: [10423, 17222],
38+
['Windows_10.0.16193']: [7503, 11033],
39+
['Windows_10.0.16188']: [8544, 8807],
40+
['Windows_10.0.15063']: [11085, 16837],
41+
['Windows_10.0.14393']: [12585, 32662],
42+
['Windows_10.0.10586']: [7047, 10944],
43+
['Windows_10.0.10240']: [16176, 16176],
44+
['Mac_16.7.0']: [2192, 4050],
45+
['Mac_16.6.0']: [8043, 10608],
46+
['Mac_16.5.0']: [4912, 11348],
47+
['Mac_16.4.0']: [3900, 4200],
48+
['Mac_16.3.0']: [7327, 7327],
49+
['Mac_16.1.0']: [6090, 6555],
50+
['Mac_16.0.0']: [32574, 32574],
51+
['Mac_15.6.0']: [16082, 17469],
52+
['Linux_4.9.0-3-amd64']: [2092, 2197],
53+
['Linux_4.9.0-2-amd64']: [9779, 9779],
54+
['Linux_4.8.0-52-generic']: [12803, 13257],
55+
['Linux_4.8.0-51-generic']: [2670, 2797],
56+
['Linux_4.8.0-040800-generic']: [3954, 3954],
57+
['Linux_4.4.0-78-generic']: [4218, 5891],
58+
['Linux_4.4.0-77-generic']: [6166, 6166],
59+
['Linux_4.11.2']: [1323, 1323],
60+
['Linux_4.10.15-200.fc25.x86_64']: [9270, 9480],
61+
['Linux_4.10.13-1-ARCH']: [7116, 8511],
62+
['Linux_4.10.11-100.fc24.x86_64']: [1845, 1845],
63+
['Linux_4.10.0-21-generic']: [14805, 16050],
64+
['Linux_3.19.0-84-generic']: [4840, 4840],
65+
['Linux_3.11.10-29-desktop']: [1637, 2891],
6966
};
7067

7168
private static readonly _myPercentiles = ProfilingHint._percentiles[`${Platform[platform]}_${release()}`];
@@ -95,8 +92,8 @@ class ProfilingHint implements IWorkbenchContribution {
9592

9693
// Check that we have some data about this
9794
// OS version to which we can compare this startup.
98-
// Then only go for startups between the 80th and
99-
// 90th percentile.
95+
// Then only go for startups between the 90 and
96+
// 95th percentile.
10097
if (!Array.isArray(ProfilingHint._myPercentiles)) {
10198
return;
10299
}

0 commit comments

Comments
 (0)