CodingTrain / CodingTrain/Suggestion-Box

Optimizing code for better performance (e.g. when iterating through multiple objects)

オープン
#52 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
言語のデータがありません
スター
570
フォーク
85
PR マージ指標
30日以内にマージされた PR はありません

説明

This suggestion is inspired by a forum-post in the Kadenze Nature of Code course titled 'PERFORMANCE VERY SLOW WITH 100 FLOCKING BOIDS - OPTIMIZATION SUGGESTIONS?' (in the 'general' category)
I think a general tutorial with some 'best practice' examples would be really helpful. It should cover things like tools for monitoring performance & typical 'things to avoid' (with preferred alternatives demonstrated). Maybe something about browsers too (I guess all browsers are not equal). It could take the form of a particular project (e.g. boids), showing first an example with low-performance code, slowing down & running syrupy as nr. of objects increases, demonstrating how gradual performance-gains can be achieved as the code is improved according to 'best practice'. Maybe touching on the key differences between p5.js & processing in their current form.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

100 flocking boids でパフォーマンスが遅いことについての参照フォーラム投稿から始め、boids プロジェクトを中心にチュートリアルの範囲を定義します。ブラウザーのパフォーマンス監視ツール、一般的な反復処理の最適化、p5.js と Processing の違いを調査します。Done は、遅い例からの測定可能な改善を示す、ベストプラクティスを網羅した完全なチュートリアルとします。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript
領域
documentation, performance, web-dev
issue の種類
ドキュメント
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。