@grepp/detect-gpu 5.0.72 → 5.0.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/benchmarks/d-adreno.json +244 -0
- package/dist/benchmarks/d-amd.json +13277 -0
- package/dist/benchmarks/d-apple.json +264 -0
- package/dist/benchmarks/d-geforce.json +7464 -0
- package/dist/benchmarks/d-intel.json +3645 -0
- package/dist/benchmarks/d-nvidia.json +11968 -0
- package/dist/benchmarks/d-radeon.json +11936 -0
- package/dist/benchmarks/m-adreno.json +2497 -0
- package/dist/benchmarks/m-apple-ipad.json +351 -0
- package/dist/benchmarks/m-apple.json +311 -0
- package/dist/benchmarks/m-intel.json +517 -0
- package/dist/benchmarks/m-mali-t.json +1301 -0
- package/dist/benchmarks/m-mali.json +1997 -0
- package/dist/benchmarks/m-nvidia.json +81 -0
- package/dist/benchmarks/m-powervr.json +499 -0
- package/dist/benchmarks/m-samsung.json +49 -0
- package/dist/detect-gpu.esm.js +2 -0
- package/dist/detect-gpu.esm.js.map +1 -0
- package/dist/detect-gpu.umd.js +2 -0
- package/dist/detect-gpu.umd.js.map +1 -0
- package/dist/example/index.d.ts +1 -0
- package/dist/rollup/config.dev.d.ts +10 -0
- package/dist/rollup/config.lib.d.ts +3 -0
- package/dist/src/index.d.ts +69 -0
- package/dist/src/internal/blocklistedGPUS.d.ts +1 -0
- package/dist/src/internal/cleanRenderer.d.ts +1 -0
- package/dist/src/internal/deobfuscateAppleGPU.d.ts +1 -0
- package/dist/src/internal/deobfuscateRenderer.d.ts +1 -0
- package/dist/src/internal/deviceInfo.d.ts +6 -0
- package/dist/src/internal/error.d.ts +3 -0
- package/dist/src/internal/getGPUVersion.d.ts +1 -0
- package/dist/src/internal/getLevenshteinDistance.d.ts +2 -0
- package/dist/src/internal/getWebGLContext.d.ts +1 -0
- package/dist/src/internal/ssr.d.ts +1 -0
- package/dist/src/internal/util.d.ts +1 -0
- package/package.json +1 -1
@@ -0,0 +1,351 @@
|
|
1
|
+
[
|
2
|
+
"5",
|
3
|
+
[
|
4
|
+
"apple a10 gpu",
|
5
|
+
"10",
|
6
|
+
"a10 apple gpu",
|
7
|
+
0,
|
8
|
+
[
|
9
|
+
[
|
10
|
+
2048,
|
11
|
+
1536,
|
12
|
+
41,
|
13
|
+
"apple ipad (6th gen)"
|
14
|
+
],
|
15
|
+
[
|
16
|
+
2160,
|
17
|
+
1620,
|
18
|
+
38,
|
19
|
+
"apple ipad (10.2-inch) (7th generation)"
|
20
|
+
]
|
21
|
+
]
|
22
|
+
],
|
23
|
+
[
|
24
|
+
"apple a10x gpu",
|
25
|
+
"10",
|
26
|
+
"a10x apple gpu",
|
27
|
+
0,
|
28
|
+
[
|
29
|
+
[
|
30
|
+
2048,
|
31
|
+
1536,
|
32
|
+
59,
|
33
|
+
"apple ipad pro (10.5-inch)"
|
34
|
+
],
|
35
|
+
[
|
36
|
+
2224,
|
37
|
+
1668,
|
38
|
+
46,
|
39
|
+
"apple ipad pro (10.5-inch)"
|
40
|
+
],
|
41
|
+
[
|
42
|
+
2732,
|
43
|
+
2048,
|
44
|
+
44,
|
45
|
+
"apple ipad pro (12.9-inch, 2nd gen)"
|
46
|
+
]
|
47
|
+
]
|
48
|
+
],
|
49
|
+
[
|
50
|
+
"apple a12 gpu",
|
51
|
+
"12",
|
52
|
+
"a12 apple gpu",
|
53
|
+
0,
|
54
|
+
[
|
55
|
+
[
|
56
|
+
2048,
|
57
|
+
1536,
|
58
|
+
60,
|
59
|
+
"apple ipad mini (2019)"
|
60
|
+
],
|
61
|
+
[
|
62
|
+
2160,
|
63
|
+
1620,
|
64
|
+
58,
|
65
|
+
"apple ipad 8th gen (wifi+cellular)"
|
66
|
+
],
|
67
|
+
[
|
68
|
+
2224,
|
69
|
+
1668,
|
70
|
+
58,
|
71
|
+
"apple ipad air (2019)"
|
72
|
+
]
|
73
|
+
]
|
74
|
+
],
|
75
|
+
[
|
76
|
+
"apple a12x gpu",
|
77
|
+
"12",
|
78
|
+
"a12x apple gpu",
|
79
|
+
0,
|
80
|
+
[
|
81
|
+
[
|
82
|
+
2388,
|
83
|
+
1668,
|
84
|
+
115,
|
85
|
+
"apple ipad pro (11-inch)"
|
86
|
+
],
|
87
|
+
[
|
88
|
+
2732,
|
89
|
+
2048,
|
90
|
+
60,
|
91
|
+
"apple ipad pro (12.9-inch) (3rd generation)"
|
92
|
+
]
|
93
|
+
]
|
94
|
+
],
|
95
|
+
[
|
96
|
+
"apple a12z gpu",
|
97
|
+
"12",
|
98
|
+
"a12z apple gpu",
|
99
|
+
0,
|
100
|
+
[
|
101
|
+
[
|
102
|
+
2388,
|
103
|
+
1668,
|
104
|
+
113,
|
105
|
+
"apple ipad pro (11-inch) (2rd generation)"
|
106
|
+
],
|
107
|
+
[
|
108
|
+
2732,
|
109
|
+
2048,
|
110
|
+
60,
|
111
|
+
"apple ipad pro (12.9 inch) (4th generation)"
|
112
|
+
]
|
113
|
+
]
|
114
|
+
],
|
115
|
+
[
|
116
|
+
"apple a13 gpu",
|
117
|
+
"13",
|
118
|
+
"a13 apple gpu",
|
119
|
+
0,
|
120
|
+
[
|
121
|
+
[
|
122
|
+
2160,
|
123
|
+
1620,
|
124
|
+
59,
|
125
|
+
"apple ipad 9th gen"
|
126
|
+
]
|
127
|
+
]
|
128
|
+
],
|
129
|
+
[
|
130
|
+
"apple a14 gpu",
|
131
|
+
"14",
|
132
|
+
"a14 apple gpu",
|
133
|
+
0,
|
134
|
+
[
|
135
|
+
[
|
136
|
+
2360,
|
137
|
+
1640,
|
138
|
+
60,
|
139
|
+
"apple ipad air (4th generation)"
|
140
|
+
],
|
141
|
+
[
|
142
|
+
2388,
|
143
|
+
1668,
|
144
|
+
52,
|
145
|
+
"apple ipad air 4th gen (wi-fi only)"
|
146
|
+
]
|
147
|
+
]
|
148
|
+
],
|
149
|
+
[
|
150
|
+
"apple a15 gpu",
|
151
|
+
"15",
|
152
|
+
"a15 apple gpu",
|
153
|
+
0,
|
154
|
+
[
|
155
|
+
[
|
156
|
+
2266,
|
157
|
+
1488,
|
158
|
+
60,
|
159
|
+
"apple ipad mini (6th gen)"
|
160
|
+
],
|
161
|
+
[
|
162
|
+
2388,
|
163
|
+
1668,
|
164
|
+
60,
|
165
|
+
"apple ipad mini (6th gen)"
|
166
|
+
]
|
167
|
+
]
|
168
|
+
],
|
169
|
+
[
|
170
|
+
"apple a16 gpu",
|
171
|
+
"16",
|
172
|
+
"a16 apple gpu",
|
173
|
+
0,
|
174
|
+
[
|
175
|
+
[
|
176
|
+
2360,
|
177
|
+
1640,
|
178
|
+
60,
|
179
|
+
"apple ipad 11th gen (wifi)"
|
180
|
+
]
|
181
|
+
]
|
182
|
+
],
|
183
|
+
[
|
184
|
+
"apple a7 gpu",
|
185
|
+
"7",
|
186
|
+
"a7 apple gpu",
|
187
|
+
0,
|
188
|
+
[
|
189
|
+
[
|
190
|
+
2048,
|
191
|
+
1536,
|
192
|
+
10,
|
193
|
+
"apple ipad mini 3"
|
194
|
+
]
|
195
|
+
]
|
196
|
+
],
|
197
|
+
[
|
198
|
+
"apple a8 gpu",
|
199
|
+
"8",
|
200
|
+
"a8 apple gpu",
|
201
|
+
0,
|
202
|
+
[
|
203
|
+
[
|
204
|
+
2048,
|
205
|
+
1536,
|
206
|
+
16,
|
207
|
+
"apple ipad mini 4"
|
208
|
+
]
|
209
|
+
]
|
210
|
+
],
|
211
|
+
[
|
212
|
+
"apple a8x gpu",
|
213
|
+
"8",
|
214
|
+
"a8x apple gpu",
|
215
|
+
0,
|
216
|
+
[
|
217
|
+
[
|
218
|
+
2048,
|
219
|
+
1536,
|
220
|
+
30,
|
221
|
+
"apple ipad air 2"
|
222
|
+
]
|
223
|
+
]
|
224
|
+
],
|
225
|
+
[
|
226
|
+
"apple a9 gpu",
|
227
|
+
"9",
|
228
|
+
"a9 apple gpu",
|
229
|
+
0,
|
230
|
+
[
|
231
|
+
[
|
232
|
+
2048,
|
233
|
+
1536,
|
234
|
+
29,
|
235
|
+
"apple ipad 9.7 (5th gen)"
|
236
|
+
]
|
237
|
+
]
|
238
|
+
],
|
239
|
+
[
|
240
|
+
"apple a9x gpu",
|
241
|
+
"9",
|
242
|
+
"a9x apple gpu",
|
243
|
+
0,
|
244
|
+
[
|
245
|
+
[
|
246
|
+
2048,
|
247
|
+
1536,
|
248
|
+
40,
|
249
|
+
"apple ipad pro 9.7"
|
250
|
+
],
|
251
|
+
[
|
252
|
+
2732,
|
253
|
+
2048,
|
254
|
+
35,
|
255
|
+
"apple ipad pro"
|
256
|
+
]
|
257
|
+
]
|
258
|
+
],
|
259
|
+
[
|
260
|
+
"apple m1 gpu",
|
261
|
+
"1",
|
262
|
+
"apple gpu m1",
|
263
|
+
0,
|
264
|
+
[
|
265
|
+
[
|
266
|
+
2360,
|
267
|
+
1640,
|
268
|
+
120,
|
269
|
+
"apple ipad air (5th generation)"
|
270
|
+
],
|
271
|
+
[
|
272
|
+
2388,
|
273
|
+
1668,
|
274
|
+
120,
|
275
|
+
"apple ipad pro (11-inch) (3rd generation)"
|
276
|
+
],
|
277
|
+
[
|
278
|
+
2732,
|
279
|
+
2048,
|
280
|
+
60,
|
281
|
+
"apple ipad pro (12.9-inch) (5th generation)"
|
282
|
+
]
|
283
|
+
]
|
284
|
+
],
|
285
|
+
[
|
286
|
+
"apple m2 gpu",
|
287
|
+
"2",
|
288
|
+
"apple gpu m2",
|
289
|
+
0,
|
290
|
+
[
|
291
|
+
[
|
292
|
+
2360,
|
293
|
+
1640,
|
294
|
+
60,
|
295
|
+
"apple ipad air 6th gen (m2)"
|
296
|
+
],
|
297
|
+
[
|
298
|
+
2388,
|
299
|
+
1668,
|
300
|
+
60,
|
301
|
+
"apple ipad pro 11 inch (4th gen)"
|
302
|
+
],
|
303
|
+
[
|
304
|
+
2730,
|
305
|
+
2048,
|
306
|
+
120,
|
307
|
+
"apple ipad pro 12.9-inch (6th generation)"
|
308
|
+
],
|
309
|
+
[
|
310
|
+
2732,
|
311
|
+
2048,
|
312
|
+
60,
|
313
|
+
"apple ipad air 13-inch (m2)"
|
314
|
+
]
|
315
|
+
]
|
316
|
+
],
|
317
|
+
[
|
318
|
+
"apple m3 gpu",
|
319
|
+
"3",
|
320
|
+
"apple gpu m3",
|
321
|
+
0,
|
322
|
+
[
|
323
|
+
[
|
324
|
+
2360,
|
325
|
+
1640,
|
326
|
+
60,
|
327
|
+
"apple ipad air 11-inch 7th gen (wifi+cellular)"
|
328
|
+
]
|
329
|
+
]
|
330
|
+
],
|
331
|
+
[
|
332
|
+
"apple m4 gpu",
|
333
|
+
"4",
|
334
|
+
"apple gpu m4",
|
335
|
+
0,
|
336
|
+
[
|
337
|
+
[
|
338
|
+
2420,
|
339
|
+
1668,
|
340
|
+
120,
|
341
|
+
"apple ipad pro 11-inch (m4)"
|
342
|
+
],
|
343
|
+
[
|
344
|
+
2752,
|
345
|
+
2064,
|
346
|
+
121,
|
347
|
+
"apple ipad pro 12.9 inch 7th gen"
|
348
|
+
]
|
349
|
+
]
|
350
|
+
]
|
351
|
+
]
|
@@ -0,0 +1,311 @@
|
|
1
|
+
[
|
2
|
+
"5",
|
3
|
+
[
|
4
|
+
"apple a10 gpu",
|
5
|
+
"10",
|
6
|
+
"a10 apple gpu",
|
7
|
+
0,
|
8
|
+
[
|
9
|
+
[
|
10
|
+
1136,
|
11
|
+
640,
|
12
|
+
60,
|
13
|
+
"apple ipod touch (7th gen)"
|
14
|
+
],
|
15
|
+
[
|
16
|
+
1334,
|
17
|
+
750,
|
18
|
+
104,
|
19
|
+
"apple iphone 7"
|
20
|
+
],
|
21
|
+
[
|
22
|
+
1920,
|
23
|
+
1080,
|
24
|
+
60,
|
25
|
+
"apple iphone 7 plus"
|
26
|
+
],
|
27
|
+
[
|
28
|
+
2001,
|
29
|
+
1125,
|
30
|
+
59,
|
31
|
+
"apple iphone x"
|
32
|
+
]
|
33
|
+
]
|
34
|
+
],
|
35
|
+
[
|
36
|
+
"apple a11 gpu",
|
37
|
+
"11",
|
38
|
+
"a11 apple gpu",
|
39
|
+
0,
|
40
|
+
[
|
41
|
+
[
|
42
|
+
1334,
|
43
|
+
750,
|
44
|
+
64,
|
45
|
+
"apple iphone 8"
|
46
|
+
],
|
47
|
+
[
|
48
|
+
1920,
|
49
|
+
1080,
|
50
|
+
78,
|
51
|
+
"apple iphone 8 plus"
|
52
|
+
]
|
53
|
+
]
|
54
|
+
],
|
55
|
+
[
|
56
|
+
"apple a12 gpu",
|
57
|
+
"12",
|
58
|
+
"a12 apple gpu",
|
59
|
+
0,
|
60
|
+
[
|
61
|
+
[
|
62
|
+
1792,
|
63
|
+
828,
|
64
|
+
65,
|
65
|
+
"apple iphone xr"
|
66
|
+
],
|
67
|
+
[
|
68
|
+
2436,
|
69
|
+
1125,
|
70
|
+
60,
|
71
|
+
"apple iphone xs max"
|
72
|
+
],
|
73
|
+
[
|
74
|
+
2208,
|
75
|
+
1242,
|
76
|
+
60,
|
77
|
+
"apple iphone xs max"
|
78
|
+
]
|
79
|
+
]
|
80
|
+
],
|
81
|
+
[
|
82
|
+
"apple a13 gpu",
|
83
|
+
"13",
|
84
|
+
"a13 apple gpu",
|
85
|
+
0,
|
86
|
+
[
|
87
|
+
[
|
88
|
+
1334,
|
89
|
+
750,
|
90
|
+
75,
|
91
|
+
"apple iphone se (2nd gen)"
|
92
|
+
],
|
93
|
+
[
|
94
|
+
1792,
|
95
|
+
828,
|
96
|
+
66,
|
97
|
+
"apple iphone 11"
|
98
|
+
],
|
99
|
+
[
|
100
|
+
2436,
|
101
|
+
1125,
|
102
|
+
31,
|
103
|
+
"apple iphone 11 pro"
|
104
|
+
],
|
105
|
+
[
|
106
|
+
2688,
|
107
|
+
1242,
|
108
|
+
70,
|
109
|
+
"apple iphone 11 pro max"
|
110
|
+
]
|
111
|
+
]
|
112
|
+
],
|
113
|
+
[
|
114
|
+
"apple a14 gpu",
|
115
|
+
"14",
|
116
|
+
"a14 apple gpu",
|
117
|
+
0,
|
118
|
+
[
|
119
|
+
[
|
120
|
+
2338,
|
121
|
+
1080,
|
122
|
+
61,
|
123
|
+
"apple iphone 12 mini"
|
124
|
+
],
|
125
|
+
[
|
126
|
+
2436,
|
127
|
+
1125,
|
128
|
+
61,
|
129
|
+
"apple iphone 12"
|
130
|
+
],
|
131
|
+
[
|
132
|
+
2778,
|
133
|
+
1284,
|
134
|
+
60,
|
135
|
+
"apple iphone 12 pro max"
|
136
|
+
]
|
137
|
+
]
|
138
|
+
],
|
139
|
+
[
|
140
|
+
"apple a15 gpu",
|
141
|
+
"15",
|
142
|
+
"a15 apple gpu",
|
143
|
+
0,
|
144
|
+
[
|
145
|
+
[
|
146
|
+
1334,
|
147
|
+
750,
|
148
|
+
118,
|
149
|
+
"apple iphone se (2022)"
|
150
|
+
],
|
151
|
+
[
|
152
|
+
2338,
|
153
|
+
1080,
|
154
|
+
60,
|
155
|
+
"apple iphone 13 mini"
|
156
|
+
],
|
157
|
+
[
|
158
|
+
2532,
|
159
|
+
1170,
|
160
|
+
60,
|
161
|
+
"apple iphone 13 pro"
|
162
|
+
],
|
163
|
+
[
|
164
|
+
2778,
|
165
|
+
1284,
|
166
|
+
60,
|
167
|
+
"apple iphone 13 pro max"
|
168
|
+
]
|
169
|
+
]
|
170
|
+
],
|
171
|
+
[
|
172
|
+
"apple a16 gpu",
|
173
|
+
"16",
|
174
|
+
"a16 apple gpu",
|
175
|
+
0,
|
176
|
+
[
|
177
|
+
[
|
178
|
+
2532,
|
179
|
+
1170,
|
180
|
+
60,
|
181
|
+
"apple iphone 14 pro"
|
182
|
+
],
|
183
|
+
[
|
184
|
+
2778,
|
185
|
+
1284,
|
186
|
+
60,
|
187
|
+
"apple iphone 15 plus"
|
188
|
+
]
|
189
|
+
]
|
190
|
+
],
|
191
|
+
[
|
192
|
+
"apple a17 pro gpu",
|
193
|
+
"17",
|
194
|
+
"a17 apple gpu pro",
|
195
|
+
0,
|
196
|
+
[
|
197
|
+
[
|
198
|
+
2532,
|
199
|
+
1170,
|
200
|
+
60,
|
201
|
+
"apple iphone 15 pro"
|
202
|
+
],
|
203
|
+
[
|
204
|
+
2778,
|
205
|
+
1284,
|
206
|
+
122,
|
207
|
+
"apple iphone 15 pro max"
|
208
|
+
]
|
209
|
+
]
|
210
|
+
],
|
211
|
+
[
|
212
|
+
"apple a18 gpu",
|
213
|
+
"18",
|
214
|
+
"a18 apple gpu",
|
215
|
+
0,
|
216
|
+
[
|
217
|
+
[
|
218
|
+
2532,
|
219
|
+
1170,
|
220
|
+
60,
|
221
|
+
"apple iphone 16 (iphone17,3)"
|
222
|
+
]
|
223
|
+
]
|
224
|
+
],
|
225
|
+
[
|
226
|
+
"apple a18 pro gpu",
|
227
|
+
"18",
|
228
|
+
"a18 apple gpu pro",
|
229
|
+
0,
|
230
|
+
[
|
231
|
+
[
|
232
|
+
2532,
|
233
|
+
1170,
|
234
|
+
60,
|
235
|
+
"apple iphone 16 (iphone17,1)"
|
236
|
+
],
|
237
|
+
[
|
238
|
+
2778,
|
239
|
+
1284,
|
240
|
+
60,
|
241
|
+
"apple iphone 16 (iphone17,2)"
|
242
|
+
]
|
243
|
+
]
|
244
|
+
],
|
245
|
+
[
|
246
|
+
"apple a7 gpu",
|
247
|
+
"7",
|
248
|
+
"a7 apple gpu",
|
249
|
+
0,
|
250
|
+
[
|
251
|
+
[
|
252
|
+
1136,
|
253
|
+
640,
|
254
|
+
32,
|
255
|
+
"apple iphone 5s"
|
256
|
+
]
|
257
|
+
]
|
258
|
+
],
|
259
|
+
[
|
260
|
+
"apple a8 gpu",
|
261
|
+
"8",
|
262
|
+
"a8 apple gpu",
|
263
|
+
0,
|
264
|
+
[
|
265
|
+
[
|
266
|
+
1136,
|
267
|
+
640,
|
268
|
+
40,
|
269
|
+
"apple ipod touch 6"
|
270
|
+
],
|
271
|
+
[
|
272
|
+
1334,
|
273
|
+
750,
|
274
|
+
36,
|
275
|
+
"apple iphone 6"
|
276
|
+
],
|
277
|
+
[
|
278
|
+
1920,
|
279
|
+
1080,
|
280
|
+
21,
|
281
|
+
"apple iphone 6 plus"
|
282
|
+
]
|
283
|
+
]
|
284
|
+
],
|
285
|
+
[
|
286
|
+
"apple a9 gpu",
|
287
|
+
"9",
|
288
|
+
"a9 apple gpu",
|
289
|
+
0,
|
290
|
+
[
|
291
|
+
[
|
292
|
+
1136,
|
293
|
+
640,
|
294
|
+
90,
|
295
|
+
"apple iphone se"
|
296
|
+
],
|
297
|
+
[
|
298
|
+
1334,
|
299
|
+
750,
|
300
|
+
72,
|
301
|
+
"apple iphone 6s"
|
302
|
+
],
|
303
|
+
[
|
304
|
+
1920,
|
305
|
+
1080,
|
306
|
+
42,
|
307
|
+
"apple iphone 6s plus"
|
308
|
+
]
|
309
|
+
]
|
310
|
+
]
|
311
|
+
]
|