Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Nov 3, 2025

Description

Adds performance info overlay based on Mrdoob's stats.js. It adds additional 4 custom performance panels from threejs (Draw Calls, Triangles, Geometries, Texture) on top of 3 default panels (FPS, MS, MB) that Stats.js offers. So this extension allows to see total of 7 performance metrics. (can be increased if Gdevelop migrates to newer version of the threejs)

How to use the extension

Start Performance monitor action:
Shows performance overlay top of the game with options to see all the panels or classic "click on it to cycle" modes and panel size scale value.

Stop Performance Monitor action:
Stops and removes the performance overlay.

Checklist

  • I've followed all of the best practices.
  • I confirm that this extension can be integrated to this GitHub repository, distributed and MIT licensed.
  • I am aware that the extension may be updated by anyone, and do not need my explicit consent to do so.

What tier of review do you aim for your extension?

Community (Unreviewed)

Example file

Performance Monitor.zip

Extension file

PerformanceMonitor.zip


Extension by @Eldarduil

You can update the extension on this "Pull Request" by commenting the update command: in the comment field, type !update, then drag and drop a zip file with your extension file in the commenting field, like how you initially submitted the extension. It should look like this:

!update [MyExtension.zip](https://github.com/GDevelopApp/GDevelop-extensions/files/12709661/MyExtension.zip)

It can take a few seconds for the file to fully upload and show as the above. Once it is like shown above, click "Comment" and let the bot do the rest!

@github-actions github-actions bot requested a review from a team as a code owner November 3, 2025 14:57
@github-actions github-actions bot added the ✨ New extension A new extension label Nov 3, 2025
@Eldarduil
Copy link
Contributor

!update
PerformanceMonitor.zip

@github-actions
Copy link
Contributor Author

github-actions bot commented Nov 3, 2025

Extension updated with errors:

❌ 1 Error found in extension 'PerformanceMonitor':

  ⟶ ❌ [JavaScript disallowed properties]: JavaScript usage of the extension 'PerformanceMonitor' must be checked by the reviewer:
{
  allowedProperties: [
    'getVariables',
    'getLayer',
    'getGame',
    'getBackgroundColor',
    'getName',
    'createObject',
    'createObjectsFrom',
    'setBackgroundColor',
    'sceneJustResumed',
    'requestChange',
    'hasLayer',
    'enableDebugDraw'
  ],
  disallowedProperty: '_PerformanceMonitor',
  objectName: 'runtimeScene'
}


❌ 1 Error found in extensions - please fix it before generating the registry.
No fatal error found the extension can be updated but still need fixes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ New extension A new extension

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants