CodingTrain / CodingTrain/Suggestion-Box

Tutorial on using the chrome profiler with p5.js

Open
#1,460 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
570
Forks
85
PR merge metrics
No merged PRs in 30d

Description

Hi CodingTrain

Framerate drift is a big issue with javascript simulations and I am very good at writing codes that start running great at 60 fps but after a while drift to closer to 30 or 25 fps.

Recently I became aware that chrome has built in profiling tools (no installation required). I've only used it a little bit but it was surprisingly complicated to take a code from editor.p5js.org and learn anything non-obvious about making it faster from looking at the chrome CPU profiler.

I did a quick youtube search and didn't see anyone with videos specifically about the chrome CPU profiler and p5.js. I would be very curious to see a video of something like this as a guide.

thanks,
Chris

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.