Giter Club home page Giter Club logo

unityprofilerlitekun's Introduction

UnityProfilerLiteKun

Demo

概要

簡易的なUnity Profiler。

このEditor拡張で出来ること

  • UnityEditorに簡易的なプロファイリング情報を表示
  • メモリが許す限り、プロファイリング情報を取得
  • 取得したプロファイリング情報をCSV形式で保存
  • Player側にStats風の簡易的なプロファイリング情報を表示可能 Stats

実行確認済み環境

確認済みのUnityバージョン

  • Unity2019.4.5f1
  • Unity2020.2.2f1

確認済みの端末

Android

  • Pixel4XL

使い方

  1. Scenes/UnityProfilerLiteKunをSceneに配置する。
  2. アプリをビルドする(Development Build:ON(必須)、Autoconnect Profiler:ON(推奨)
  3. Window->UnityProfilerLiteKunから専用Windowを開く
  4. アプリを実行する
  5. 任意のタイミングでRecordボタンを押す

以上

API

特定のタイミング・期間で計測を行う必要がある場合、スクリプトから下記のAPIを実行してください。

  • UnityProfilerLiteKun.instance.StartRecording()
  • UnityProfilerLiteKun.instance.EndRecording()

その他

パフォーマンスのチューニングを行う際、いきなりUnityProfilerをでProfilingを行うのではなく、先ずは(メモリの許す限り)Frame数に制限無くProfilingを行うことが出来る為、常にProfileを記録しつつ、パフォーマンス悪い画面を見つけたら、UnityProfilerでProfilingを行うと効率的です。 本Editor拡張は、UnityChoseKunと併用して使うことを想定しています。 Statsを有効にすると、Frame数が画面に表示されるので、UnityChoseKunで画面を録画しておくと、どの画面でパフォーマンスが悪くなるかを発見しやすくなります。

要望、問題等はIssuesからご連絡下さい。

unityprofilerlitekun's People

Contributors

katsumasa avatar yuki4080 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.