@luminocity/lemonate-engine 26.4.3 → 26.4.6

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/player.zip CHANGED
Binary file
@@ -66,7 +66,7 @@ export declare abstract class SgItem extends SgResourceOwner {
66
66
  * this item's container to its parent directly. But in case where this item has a subNodeId, it is not directly
67
67
  * a child of its parent but to one of its subnodes. We need to check if this subnode exists and then add
68
68
  * ourselves to it. If that subnode does not exist, we will instead add to the parent directly again.
69
- * This function needs to be called whenecer the parent updates its subnodes, because this would mean
69
+ * This function needs to be called whenever the parent updates its subnodes, because this would mean
70
70
  * the subnode will suddenly appear/disappear and we need to update parenting again
71
71
  */
72
72
  updateParenting(): void;
@@ -11,6 +11,7 @@ export declare class ProfilerTask {
11
11
  constructor(parent: ProfilerTask | null, subsystem: string, taskname: string, profiler: Profiler);
12
12
  done(): void;
13
13
  pushChildTask(task: ProfilerTask): void;
14
+ findPerformanceIssuePath(limit?: number): string;
14
15
  toData(): any;
15
16
  }
16
17
  export declare class Profiler {
@@ -23,12 +24,15 @@ export declare class Profiler {
23
24
  lastRecording: any;
24
25
  loggedCalls: Map<string, any>;
25
26
  lastLoggedCalls?: any;
27
+ performanceWaningEnabled: boolean;
28
+ performanceWarningLimitMs: number;
26
29
  constructor(engine: Engine);
27
30
  logCall(name: string, func: Function): any;
28
31
  getLastRecording(): any;
29
32
  getLastLoggedCalls(): Map<string, any>;
30
33
  startRecord(): void;
31
34
  endRecordAfter(ms: number): ProfilerTask | null;
35
+ testPerformanceWarning(task: ProfilerTask, limit?: number): void;
32
36
  endRecord(): ProfilerTask | null;
33
37
  setEnabled(value: boolean): void;
34
38
  measure(subsystem: string, taskname: string, func: Function): any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luminocity/lemonate-engine",
3
- "version": "26.4.3",
3
+ "version": "26.4.6",
4
4
  "productName": "Lemonate Engine",
5
5
  "repository": "https://codeberg.org/Luminocity/lemonate-engine",
6
6
  "homepage": "https://lemonate.io",