@todesktop/shared 7.188.30 → 7.188.31
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/lib/desktopify.d.ts +15 -1
- package/package.json +1 -1
- package/src/desktopify.ts +15 -1
package/lib/desktopify.d.ts
CHANGED
|
@@ -204,9 +204,18 @@ export interface SmokeTestProgress {
|
|
|
204
204
|
}
|
|
205
205
|
export interface SmokeTestPerformance {
|
|
206
206
|
/**
|
|
207
|
-
* Time between process.getCreationTime() and `App#redy event`
|
|
207
|
+
* Time between `process.getCreationTime()` and `App#redy event`
|
|
208
208
|
*/
|
|
209
209
|
appReadyMs: number;
|
|
210
|
+
/**
|
|
211
|
+
* Time between `process.getCreationTime()` and app is closed for update
|
|
212
|
+
*/
|
|
213
|
+
appReadyToRestartForUpdateMs: number;
|
|
214
|
+
/**
|
|
215
|
+
* Time between `process.getCreationTime()` and connect event received from
|
|
216
|
+
* the restarted app. It can be up to 4 minutes on Windows.
|
|
217
|
+
*/
|
|
218
|
+
appRestartedAfterUpdateMs: number;
|
|
210
219
|
/**
|
|
211
220
|
* From `process.cpuUsage()` user + system.
|
|
212
221
|
* This value measures time spent in user and system code, and may end up
|
|
@@ -235,6 +244,11 @@ export interface SmokeTestPerformance {
|
|
|
235
244
|
* runtime execution
|
|
236
245
|
*/
|
|
237
246
|
runtimeLoadedMs: number;
|
|
247
|
+
/**
|
|
248
|
+
* Time between `process.getCreationTime()` and the update file downloaded
|
|
249
|
+
* from the server.
|
|
250
|
+
*/
|
|
251
|
+
updateDownloadedMs: number;
|
|
238
252
|
/**
|
|
239
253
|
* Time between `process.getCreationTime()` and the first firing of
|
|
240
254
|
* WebContents#dom-ready if any window is created
|
package/package.json
CHANGED
package/src/desktopify.ts
CHANGED
|
@@ -282,9 +282,18 @@ export interface SmokeTestProgress {
|
|
|
282
282
|
|
|
283
283
|
export interface SmokeTestPerformance {
|
|
284
284
|
/**
|
|
285
|
-
* Time between process.getCreationTime() and `App#redy event`
|
|
285
|
+
* Time between `process.getCreationTime()` and `App#redy event`
|
|
286
286
|
*/
|
|
287
287
|
appReadyMs: number;
|
|
288
|
+
/**
|
|
289
|
+
* Time between `process.getCreationTime()` and app is closed for update
|
|
290
|
+
*/
|
|
291
|
+
appReadyToRestartForUpdateMs: number;
|
|
292
|
+
/**
|
|
293
|
+
* Time between `process.getCreationTime()` and connect event received from
|
|
294
|
+
* the restarted app. It can be up to 4 minutes on Windows.
|
|
295
|
+
*/
|
|
296
|
+
appRestartedAfterUpdateMs: number;
|
|
288
297
|
/**
|
|
289
298
|
* From `process.cpuUsage()` user + system.
|
|
290
299
|
* This value measures time spent in user and system code, and may end up
|
|
@@ -313,6 +322,11 @@ export interface SmokeTestPerformance {
|
|
|
313
322
|
* runtime execution
|
|
314
323
|
*/
|
|
315
324
|
runtimeLoadedMs: number;
|
|
325
|
+
/**
|
|
326
|
+
* Time between `process.getCreationTime()` and the update file downloaded
|
|
327
|
+
* from the server.
|
|
328
|
+
*/
|
|
329
|
+
updateDownloadedMs: number;
|
|
316
330
|
/**
|
|
317
331
|
* Time between `process.getCreationTime()` and the first firing of
|
|
318
332
|
* WebContents#dom-ready if any window is created
|