Skip to content

Add a new performance viewing extension#2519

Closed
greenkidneybeans wants to merge 2 commits into
TurboWarp:masterfrom
greenkidneybeans:greenkidneybeans-patch-1
Closed

Add a new performance viewing extension#2519
greenkidneybeans wants to merge 2 commits into
TurboWarp:masterfrom
greenkidneybeans:greenkidneybeans-patch-1

Conversation

@greenkidneybeans

Copy link
Copy Markdown

This extension allows you to view FPS, ping, and if not browser restricted, memory usage all from 3 reporter blocks.

This extension allows you to view FPS, ping, and if not browser restricted, memory usage all from 3 reporter blocks.
@greenkidneybeans greenkidneybeans requested a review from a team as a code owner May 30, 2026 23:26
@github-actions github-actions Bot added the pr: other Pull requests that neither add new extensions or change existing ones label May 30, 2026
Comment thread performanceviewer.js
this.lastFrameTime = performance.now();
this.fps = 0;

const updateFPS = () => {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • the framerate this computes is largely meaningless for Scratch projects because Scratch projects generally do not use rAF
  • a fixed version already exists in delta time extension

Comment thread performanceviewer.js

getFps() { return this.fps; }

getMemory() {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not super meaningful

Comment thread performanceviewer.js
}

async getPing() {
const startTime = performance.now();

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • you have syntax errors in this one, indicating that it was not tested
  • the ping this computes is again not meaningful (ping to google.com implies nothing about ping to other services) and also won't work in China where a significant portion of our (desktop app) users are.

@GarboMuffin

Copy link
Copy Markdown
Member

Hi @greenkidneybeans, we appreciate your enthusiasm to submit extensions here but we are going to ask that you use the "issues" tab on GitHub to suggest ideas and get initial feedback on your ideas before you submit another extension here.

Every extension that we add here is a promise that we will maintain it forever, otherwise real projects by real people will stop working. It also can directly affect my wallet due to our security bug bounty program. Adding new things is thus a large step, not something we do on a whim for every tiny little idea someone has.

You are also always able to use custom extensions that fulfill your own needs, regardless of what we merge here.

@greenkidneybeans

Copy link
Copy Markdown
Author

Hi @greenkidneybeans, we appreciate your enthusiasm to submit extensions here but we are going to ask that you use the "issues" tab on GitHub to suggest ideas and get initial feedback on your ideas before you submit another extension here.

Every extension that we add here is a promise that we will maintain it forever, otherwise real projects by real people will stop working. It also can directly affect my wallet due to our security bug bounty program. Adding new things is thus a large step, not something we do on a whim for every tiny little idea someone has.

You are also always able to use custom extensions that fulfill your own needs, regardless of what we merge here.

Alright, I will make sure to know that my code works. Thanks for the advice.

@greenkidneybeans greenkidneybeans deleted the greenkidneybeans-patch-1 branch May 31, 2026 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: other Pull requests that neither add new extensions or change existing ones

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants